summaryrefslogtreecommitdiff
path: root/bf_sw/source/core/bastyp/sw_init.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bf_sw/source/core/bastyp/sw_init.cxx')
-rw-r--r--bf_sw/source/core/bastyp/sw_init.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/bf_sw/source/core/bastyp/sw_init.cxx b/bf_sw/source/core/bastyp/sw_init.cxx
index e1eeb8ba0..f57c646d3 100644
--- a/bf_sw/source/core/bastyp/sw_init.cxx
+++ b/bf_sw/source/core/bastyp/sw_init.cxx
@@ -80,7 +80,7 @@
#include <bf_svx/forbiddenruleitem.hxx>
#include <bf_svx/paravertalignitem.hxx>
#include <bf_svx/pgrditem.hxx>
-
+#include <comphelper/processfactory.hxx>
#include <fmthbsh.hxx>
#include <fmtanchr.hxx>
@@ -695,7 +695,7 @@ public:
/*N*/ ::com::sun::star::uno::Reference<
/*N*/ ::com::sun::star::lang::XMultiServiceFactory > xMSF =
/*N*/ ::legacy_binfilters::getLegacyProcessServiceFactory();
-/*N*/ pAppCharClass = new CharClass( xMSF, rLcl );
+/*N*/ pAppCharClass = new CharClass( comphelper::getComponentContext(xMSF), rLcl );
/*N*/
/*N*/ _FrmInit();
/*N*/ _TextInit();