summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/ui/view/tabvwsha.cxx14
1 files 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;
}
}