diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-11-06 13:58:20 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-11-18 19:57:23 -0600 |
commit | 1599fc9e54a7c4855bee1c30d92dd1f5be05f530 (patch) | |
tree | d3952cdcb599c86d92bfcb2268c612af6c7b8789 /xmloff | |
parent | 6dbf5f7ea0187aa6c4e1c45fc2d2cd03b2b67b0a (diff) |
svl: OUString conversion of most of zforscan
Change-Id: I02ca7f7770e2d53371e7c597c087c4a370ce8d3f
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/style/xmlnumfe.cxx | 6 | ||||
-rw-r--r-- | xmloff/source/style/xmlnumfi.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/style/xmlnumfe.cxx b/xmloff/source/style/xmlnumfe.cxx index a770d207b15b..2d06b91b9c81 100644 --- a/xmloff/source/style/xmlnumfe.cxx +++ b/xmloff/source/style/xmlnumfe.cxx @@ -805,16 +805,16 @@ sal_Bool SvXMLNumFmtExport::WriteTextWithCurrency_Impl( const OUString& rString, LanguageType nLang = LanguageTag( rLocale ).getLanguageType( false); pFormatter->ChangeIntl( nLang ); - String sCurString, sDummy; + OUString sCurString, sDummy; pFormatter->GetCompatibilityCurrency( sCurString, sDummy ); pCharClass->setLocale( rLocale ); OUString sUpperStr = pCharClass->uppercase(rString); - sal_Int32 nPos = lcl_FindSymbol( sUpperStr, OUString(sCurString) ); + sal_Int32 nPos = lcl_FindSymbol( sUpperStr, sCurString ); if ( nPos >= 0 ) { sal_Int32 nLength = rString.getLength(); - sal_Int32 nCurLen = sCurString.Len(); + sal_Int32 nCurLen = sCurString.getLength(); sal_Int32 nCont = nPos + nCurLen; // text before currency symbol diff --git a/xmloff/source/style/xmlnumfi.cxx b/xmloff/source/style/xmlnumfi.cxx index f142ce936e5b..de3d238d2013 100644 --- a/xmloff/source/style/xmlnumfi.cxx +++ b/xmloff/source/style/xmlnumfi.cxx @@ -1875,7 +1875,7 @@ void SvXMLNumFormatContext::AddCurrency( const rtl::OUString& rContent, Language if ( pFormatter ) { pFormatter->ChangeIntl( nFormatLang ); - String sCurString, sDummy; + OUString sCurString, sDummy; pFormatter->GetCompatibilityCurrency( sCurString, sDummy ); aSymbol = sCurString; |