Kaydet (Commit) 12ec403c authored tarafından Caolán McNamara's avatar Caolán McNamara

fix crash on loading fdo70673-1.ods

rStr is NaN

Change-Id: I8206ab322a08d558cf5f05750efd700875b2134c
üst aacfd503
......@@ -4364,7 +4364,7 @@ bool SvNumberformat::ImpGetNumberOutput(double fNumber,
const OUString& rStr = rInfo.sStrArray[j];
const sal_Unicode* p1 = rStr.getStr();
const sal_Unicode* p = p1 + rStr.getLength();
while ( p1 < p-- )
while (k && p1 < p--)
{
const sal_Unicode c = *p;
k--;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment