diff options
-rw-r--r-- | sc/source/ui/view/viewfun6.cxx | 3 |
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) |