Revert "do not use unlimited precision in status bar"

... that cured only a symptom.

This reverts commit 04aceed37a42245392ed4671d276dd2de6118a89.
This commit is contained in:
Eike Rathke
2015-09-29 14:18:19 +02:00
parent 4672445c1a
commit 82d1c4b9bb

View File

@@ -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;
}
}