diff options
author | Eike Rathke <erack@redhat.com> | 2015-09-29 14:18:19 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-09-29 16:01:47 +0200 |
commit | 82d1c4b9bbc2987dc1bd640f9af24c60af7d6fdc (patch) | |
tree | 9d46391473ee66eb61f097b063ca93a73ff92188 /sc/source | |
parent | 4672445c1ab501550d554db7519e44516001fea3 (diff) |
Revert "do not use unlimited precision in status bar"
... that cured only a symptom.
This reverts commit 04aceed37a42245392ed4671d276dd2de6118a89.
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/view/tabvwsha.cxx | 14 |
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; } } |