diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-11-25 15:14:04 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-11-27 23:00:04 -0600 |
commit | ca3cd8bfc47f59c610c89d3ef3daf841bef6fc03 (patch) | |
tree | 415983a2cea352d75915160835f35f4dcd3b6c97 /svl/source/numbers/zforfind.cxx | |
parent | fb4685458544670fba5f627d4572ea780f9f7785 (diff) |
another round of String -> OUString conversion in zforlist
Change-Id: I9979927af016f0b782ae9481a6207649f6455558
Diffstat (limited to 'svl/source/numbers/zforfind.cxx')
-rw-r--r-- | svl/source/numbers/zforfind.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svl/source/numbers/zforfind.cxx b/svl/source/numbers/zforfind.cxx index 250b89b30bf4..0d5000a7ffa3 100644 --- a/svl/source/numbers/zforfind.cxx +++ b/svl/source/numbers/zforfind.cxx @@ -2609,7 +2609,7 @@ bool ImpSvNumberInputScan::IsNumberFormatMain( if (eSetType == NUMBERFORMAT_FRACTION) // Fraction 1 = 1/1 { if (i >= nAnzStrings || // no end string nor decimal separator - sStrArray[i] == pFormatter->GetNumDecimalSep()) + sStrArray[i] == (String)pFormatter->GetNumDecimalSep()) { eScannedType = NUMBERFORMAT_FRACTION; nMatchedAllStrings &= ~nMatchedVirgin; @@ -2630,7 +2630,7 @@ bool ImpSvNumberInputScan::IsNumberFormatMain( eScannedType == NUMBERFORMAT_UNDEFINED && // not date or currency nDecPos == 0 && // no previous decimal separator (i >= nAnzStrings || // no end string nor decimal separator - sStrArray[i] == pFormatter->GetNumDecimalSep()) + sStrArray[i] == (String)pFormatter->GetNumDecimalSep()) ) { eScannedType = NUMBERFORMAT_FRACTION; @@ -2909,9 +2909,9 @@ void ImpSvNumberInputScan::InitText() void ImpSvNumberInputScan::ChangeIntl() { - sal_Unicode cDecSep = pFormatter->GetNumDecimalSep().GetChar(0); - bDecSepInDateSeps = ( cDecSep == '-' || - cDecSep == pFormatter->GetDateSep().GetChar(0) ); + sal_Unicode cDecSep = pFormatter->GetNumDecimalSep()[0]; + bDecSepInDateSeps = ( cDecSep == (sal_Unicode)'-' || + cDecSep == pFormatter->GetDateSep()[0] ); bTextInitialized = false; aUpperCurrSymbol.Erase(); InvalidateDateAcceptancePatterns(); |