summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-01-06 23:00:40 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-09 13:28:37 +0000
commit45b19123a63f23fe37b11b063d7567bf79ef09aa (patch)
treebefd8c637ac6fbdf94c05bb80c500fb781dd2bb4 /xmloff
parentbcd9122715c7b708a65bee05a90dba3a38624ecb (diff)
simplify CharClass
multiple variants of toUpper (etc) some that take a non-const OUString or String and modify it some that take a const OUString or String and return a new one some that take part of a const OUString or String and return a new one
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/style/xmlnumfe.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/xmlnumfe.cxx b/xmloff/source/style/xmlnumfe.cxx
index 5b72306c73d9..b966b355328a 100644
--- a/xmloff/source/style/xmlnumfe.cxx
+++ b/xmloff/source/style/xmlnumfe.cxx
@@ -808,7 +808,7 @@ sal_Bool SvXMLNumFmtExport::WriteTextWithCurrency_Impl( const OUString& rString,
pFormatter->GetCompatibilityCurrency( sCurString, sDummy );
pCharClass->setLocale( rLocale );
- String sUpperStr = pCharClass->upper(rString);
+ String sUpperStr = pCharClass->uppercase(rString);
xub_StrLen nPos = lcl_FindSymbol( sUpperStr, sCurString );
if ( nPos != STRING_NOTFOUND )
{