diff options
Diffstat (limited to 'sw/source/core/bastyp/init.cxx')
-rw-r--r-- | sw/source/core/bastyp/init.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/bastyp/init.cxx b/sw/source/core/bastyp/init.cxx index 71a5a8942ace..117b7e02f3ef 100644 --- a/sw/source/core/bastyp/init.cxx +++ b/sw/source/core/bastyp/init.cxx @@ -810,9 +810,9 @@ CharClass& GetAppCharClass() { if ( !pAppCharClass ) { - uno::Reference< lang::XMultiServiceFactory > xMSF = ::comphelper::getProcessServiceFactory(); pAppCharClass = new CharClass( - xMSF, SwBreakIt::Get()->GetLocale( (LanguageType)GetAppLanguage() )); + ::comphelper::getProcessComponentContext(), + SwBreakIt::Get()->GetLocale( (LanguageType)GetAppLanguage() )); } return *pAppCharClass; } @@ -865,9 +865,9 @@ namespace public: TransWrp() { - uno::Reference< lang::XMultiServiceFactory > xMSF = ::comphelper::getProcessServiceFactory(); + uno::Reference< uno::XComponentContext > xContext = ::comphelper::getProcessComponentContext(); - xTransWrp.reset(new ::utl::TransliterationWrapper( xMSF, + xTransWrp.reset(new ::utl::TransliterationWrapper( xContext, i18n::TransliterationModules_IGNORE_CASE | i18n::TransliterationModules_IGNORE_KANA | i18n::TransliterationModules_IGNORE_WIDTH )); |