summaryrefslogtreecommitdiff
path: root/i18npool/source/registerservices/registerservices.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/source/registerservices/registerservices.cxx')
-rw-r--r--i18npool/source/registerservices/registerservices.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/source/registerservices/registerservices.cxx b/i18npool/source/registerservices/registerservices.cxx
index 3eba12e2cc3c..6345b916690a 100644
--- a/i18npool/source/registerservices/registerservices.cxx
+++ b/i18npool/source/registerservices/registerservices.cxx
@@ -21,7 +21,7 @@
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/registry/XRegistryKey.hpp>
-#include <comphelper/componentcontext.hxx>
+#include <comphelper/processfactory.hxx>
#include <cppuhelper/factory.hxx>
#include <cppuhelper/weak.hxx>
#include <osl/mutex.hxx>
@@ -110,7 +110,7 @@
{ \
return ::com::sun::star::uno::Reference < \
::com::sun::star::uno::XInterface >( ( ::cppu::OWeakObject* ) \
- new ImplName( comphelper::ComponentContext(rxMSF).getUNOContext() ) ); \
+ new ImplName( comphelper::getComponentContext(rxMSF) ) ); \
}
typedef ::com::sun::star::uno::Reference<