From 82d1c4b9bbc2987dc1bd640f9af24c60af7d6fdc Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Tue, 29 Sep 2015 14:18:19 +0200 Subject: Revert "do not use unlimited precision in status bar" ... that cured only a symptom. This reverts commit 04aceed37a42245392ed4671d276dd2de6118a89. --- sc/source/ui/view/tabvwsha.cxx | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/sc/source/ui/view/tabvwsha.cxx b/sc/source/ui/view/tabvwsha.cxx index dce648cb3a10..f6ac626e1679 100644 --- a/sc/source/ui/view/tabvwsha.cxx +++ b/sc/source/ui/view/tabvwsha.cxx @@ -123,18 +123,8 @@ bool ScTabViewShell::GetFunction( OUString& rFuncStr, sal_uInt16 nErrCode ) } OUString aValStr; - // Do not use the unlimited precision of the General format or - // the display string for 1E+222 would be '1' and 222 repeated - // '0' characters in the status bar ... Instead of setting - // standard precision back and forth simply use the input line - // string. - if ((nNumFmt % SV_COUNTRY_LANGUAGE_OFFSET) == 0) - pFormatter->GetInputLineString( nVal, nNumFmt, aValStr); - else - { - Color* pDummy; - pFormatter->GetOutputString( nVal, nNumFmt, aValStr, &pDummy ); - } + Color* pDummy; + pFormatter->GetOutputString( nVal, nNumFmt, aValStr, &pDummy ); aStr += aValStr; } } -- cgit