diff options
-rw-r--r-- | svl/source/numbers/zformat.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx index 54f3ce6276d2..dfe5f16096e2 100644 --- a/svl/source/numbers/zformat.cxx +++ b/svl/source/numbers/zformat.cxx @@ -966,10 +966,7 @@ SvNumberformat::SvNumberformat(OUString& rString, sParams = "cardinal"; // default NatNum12 format is "cardinal" else if (sParams.indexOf("CURRENCY") >= 0) sParams = sParams.replaceAll("CURRENCY", - GetFormatter().GetLocaleData()->getCurrBankSymbol()); - // compatible (old) currency format - else if (sParams.indexOf("CCC") >= 0) - sParams = sParams.replaceAll("CCC", rScan.GetCurAbbrev()); + rLoc().getCurrBankSymbol()); NumFor[nIndex].SetNatNumParams(sParams); sStr += " " + sParams; } |