summaryrefslogtreecommitdiff
path: root/unotools/source/i18n/transliterationwrapper.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-07-02 16:02:38 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-07-03 21:24:35 +0100
commitbccf34c19ae022b67565e212fa4ec0d5213947de (patch)
tree73c2d2e29ad8d15999cbfb2ff554efa1e502a35e /unotools/source/i18n/transliterationwrapper.cxx
parent285289275d1cf1769080a208b55be984cd269e1e (diff)
ditch String::CreateFromAscii
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
Diffstat (limited to 'unotools/source/i18n/transliterationwrapper.cxx')
-rw-r--r--unotools/source/i18n/transliterationwrapper.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/unotools/source/i18n/transliterationwrapper.cxx b/unotools/source/i18n/transliterationwrapper.cxx
index ea7aaa856de5..195a98ff406c 100644
--- a/unotools/source/i18n/transliterationwrapper.cxx
+++ b/unotools/source/i18n/transliterationwrapper.cxx
@@ -133,17 +133,17 @@ void TransliterationWrapper::loadModuleIfNeeded( sal_uInt16 nLang )
if( static_cast< sal_Int32 >(nType) == TransliterationModulesExtra::SENTENCE_CASE )
{
if( bLoad )
- loadModuleByImplName(String::CreateFromAscii("SENTENCE_CASE"), nLang);
+ loadModuleByImplName(rtl::OUString("SENTENCE_CASE"), nLang);
}
else if( static_cast< sal_Int32 >(nType) == TransliterationModulesExtra::TITLE_CASE )
{
if( bLoad )
- loadModuleByImplName(String::CreateFromAscii("TITLE_CASE"), nLang);
+ loadModuleByImplName(rtl::OUString("TITLE_CASE"), nLang);
}
else if( static_cast< sal_Int32 >(nType) == TransliterationModulesExtra::TOGGLE_CASE )
{
if( bLoad )
- loadModuleByImplName(String::CreateFromAscii("TOGGLE_CASE"), nLang);
+ loadModuleByImplName(rtl::OUString("TOGGLE_CASE"), nLang);
}
else
{