From ca3cd8bfc47f59c610c89d3ef3daf841bef6fc03 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Sun, 25 Nov 2012 15:14:04 -0600 Subject: another round of String -> OUString conversion in zforlist Change-Id: I9979927af016f0b782ae9481a6207649f6455558 --- svl/source/numbers/zforfind.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'svl/source/numbers/zforfind.cxx') 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(); -- cgit