From d40700d58e3a418fa54d8f1e424a1bccbd2f188e Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Fri, 22 Aug 2014 23:40:58 +0200 Subject: treat datetime as handled Change-Id: Idc94174662eee5a75a6b467e47cbf9027e3ba224 --- sc/source/ui/view/viewfun6.cxx | 3 +++ 1 file changed, 3 insertions(+) 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) -- cgit