diff options
Diffstat (limited to 'bf_sw')
-rw-r--r-- | bf_sw/source/core/bastyp/sw_calc.cxx | 3 | ||||
-rw-r--r-- | bf_sw/source/core/bastyp/sw_init.cxx | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/bf_sw/source/core/bastyp/sw_calc.cxx b/bf_sw/source/core/bastyp/sw_calc.cxx index 9bc84cad1..67e31cb89 100644 --- a/bf_sw/source/core/bastyp/sw_calc.cxx +++ b/bf_sw/source/core/bastyp/sw_calc.cxx @@ -65,6 +65,7 @@ #include <dbmgr.hxx> #include <docfld.hxx> #include <legacysmgr/legacy_binfilters_smgr.hxx> +#include <comphelper/processfactory.hxx> namespace binfilter { // tippt sich schneller @@ -266,7 +267,7 @@ static int /*N*/ ::com::sun::star::lang::Locale aLocale( SvxCreateLocale( eLang )); /*N*/ ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xMSF( /*N*/ ::legacy_binfilters::getLegacyProcessServiceFactory() ); -/*N*/ pCharClass = new CharClass( xMSF, aLocale ); +/*N*/ pCharClass = new CharClass( comphelper::getComponentContext(xMSF), aLocale ); /*N*/ pLclData = new LocaleDataWrapper( xMSF, aLocale ); /*N*/ } /*N*/ 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(); |