summaryrefslogtreecommitdiff
path: root/sw/source/core/bastyp/init.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/bastyp/init.cxx')
-rw-r--r--sw/source/core/bastyp/init.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/bastyp/init.cxx b/sw/source/core/bastyp/init.cxx
index 71a5a8942ace..3a725a731c09 100644
--- a/sw/source/core/bastyp/init.cxx
+++ b/sw/source/core/bastyp/init.cxx
@@ -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 ));