summaryrefslogtreecommitdiff
path: root/i18npool/source/transliteration/transliteration_body.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/source/transliteration/transliteration_body.cxx')
-rw-r--r--i18npool/source/transliteration/transliteration_body.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/source/transliteration/transliteration_body.cxx b/i18npool/source/transliteration/transliteration_body.cxx
index db3ba0a9f37d..8a63e1bebe88 100644
--- a/i18npool/source/transliteration/transliteration_body.cxx
+++ b/i18npool/source/transliteration/transliteration_body.cxx
@@ -273,8 +273,8 @@ static rtl::OUString transliterate_titlecase_Impl(
OUString aRes;
if (!aText.isEmpty())
{
- Reference< XMultiServiceFactory > xMSF = ::comphelper::getProcessServiceFactory();
- CharacterClassificationImpl aCharClassImpl( xMSF );
+ Reference< XComponentContext > xContext = ::comphelper::getProcessComponentContext();
+ CharacterClassificationImpl aCharClassImpl( xContext );
// because aCharClassImpl.toTitle does not handle ligatures or ß but will raise
// an exception we need to handle the first chara manually...