summaryrefslogtreecommitdiff
path: root/unotools/source/i18n/localedatawrapper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/source/i18n/localedatawrapper.cxx')
-rw-r--r--unotools/source/i18n/localedatawrapper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/unotools/source/i18n/localedatawrapper.cxx b/unotools/source/i18n/localedatawrapper.cxx
index 93eda0d0fd2c..d6dee74d9435 100644
--- a/unotools/source/i18n/localedatawrapper.cxx
+++ b/unotools/source/i18n/localedatawrapper.cxx
@@ -37,7 +37,7 @@
#include <com/sun/star/i18n/CalendarDisplayIndex.hpp>
#include <com/sun/star/i18n/NumberFormatIndex.hpp>
-#include <comphelper/componentcontext.hxx>
+#include <comphelper/processfactory.hxx>
#include <rtl/instance.hxx>
#include <rtl/ustrbuf.hxx>
#include <sal/macros.h>
@@ -71,7 +71,7 @@ LocaleDataWrapper::LocaleDataWrapper(
)
:
xSMgr( xSF ),
- xLD( LocaleData::create(comphelper::ComponentContext(xSMgr).getUNOContext()) ),
+ xLD( LocaleData::create(comphelper::getComponentContext(xSMgr)) ),
bLocaleDataItemValid( sal_False ),
bReservedWordValid( sal_False )
{