diff options
Diffstat (limited to 'sw/source/filter/ww8/ww8par.cxx')
-rw-r--r-- | sw/source/filter/ww8/ww8par.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx index dc89f507a0f6..5fc820f5e37c 100644 --- a/sw/source/filter/ww8/ww8par.cxx +++ b/sw/source/filter/ww8/ww8par.cxx @@ -132,8 +132,6 @@ using namespace nsHdFtFlags; #include <comphelper/mediadescriptor.hxx> #include <oox/ole/vbaproject.hxx> #include <oox/ole/olestorage.hxx> -#include <comphelper/componentcontext.hxx> - using ::comphelper::MediaDescriptor; using ::comphelper::getProcessServiceFactory; @@ -145,8 +143,7 @@ class BasicProjImportHelper public: BasicProjImportHelper( SwDocShell& rShell ) : mrDocShell( rShell ) { - comphelper::ComponentContext aCtx( ::comphelper::getProcessServiceFactory() ); - mxCtx = aCtx.getUNOContext(); + mxCtx = comphelper::getProcessComponentContext(); } bool import( const uno::Reference< io::XInputStream >& rxIn ); rtl::OUString getProjectName(); |