summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/viewfun6.cxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2014-08-22 23:40:58 +0200
committerEike Rathke <erack@redhat.com>2014-08-22 23:45:22 +0200
commitd40700d58e3a418fa54d8f1e424a1bccbd2f188e (patch)
tree3a6f93dca65586fb17b1c5de21a2971068a27135 /sc/source/ui/view/viewfun6.cxx
parent0f4a999e02aff56043506e38dfa53ea3b349ce25 (diff)
treat datetime as handled
Change-Id: Idc94174662eee5a75a6b467e47cbf9027e3ba224
Diffstat (limited to 'sc/source/ui/view/viewfun6.cxx')
-rw-r--r--sc/source/ui/view/viewfun6.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/ui/view/viewfun6.cxx b/sc/source/ui/view/viewfun6.cxx
index b6856d0aa868..b2494c159335 100644
--- a/sc/source/ui/view/viewfun6.cxx
+++ b/sc/source/ui/view/viewfun6.cxx
@@ -379,6 +379,9 @@ void ScViewFunc::InsertCurrentTime(short nReqFmt, const OUString& rUndoStr)
default:
assert(!"unhandled current date/time request");
nReqFmt = NUMBERFORMAT_DATETIME;
+ // fallthru
+ case NUMBERFORMAT_DATETIME:
+ break;
}
double fVal = 0.0;
switch (nReqFmt)