diff options
author | Noel Grandin <noel@peralex.com> | 2013-01-08 11:24:30 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-01-15 09:56:02 +0200 |
commit | 549578a4ea996260437b355c39896593afc60726 (patch) | |
tree | 661c536084db8ce176348be2b2539e2d1d72d6ee /i18npool/source/transliteration/transliteration_body.cxx | |
parent | fdo#46808, Adapt chart2::data::LabeledDataSequence UNO service to new style (diff) | |
download | core-549578a4ea996260437b355c39896593afc60726.tar.gz core-549578a4ea996260437b355c39896593afc60726.zip |
fdo#46808, Convert services in i18npool to XComponentContext
Change-Id: I3aeaca995bc9a3d865b6955aa47cee4d9eb07750
Diffstat (limited to 'i18npool/source/transliteration/transliteration_body.cxx')
-rw-r--r-- | i18npool/source/transliteration/transliteration_body.cxx | 4 |
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... |