diff options
Diffstat (limited to 'sfx2/source/doc/docfac.cxx')
-rw-r--r-- | sfx2/source/doc/docfac.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/doc/docfac.cxx b/sfx2/source/doc/docfac.cxx index 94eea2b2b4e4..4caac052801c 100644 --- a/sfx2/source/doc/docfac.cxx +++ b/sfx2/source/doc/docfac.cxx @@ -31,7 +31,6 @@ #include <unotools/moduleoptions.hxx> #include <unotools/ucbstreamhelper.hxx> #include <unotools/localfilehelper.hxx> -#include <comphelper/componentcontext.hxx> #include <comphelper/sequenceashashmap.hxx> #include <comphelper/configurationhelper.hxx> @@ -253,7 +252,7 @@ void SfxObjectFactory::SetSystemTemplate( const String& rServiceName, const Stri aUserTemplateURL += aExt; uno::Reference<ucb::XSimpleFileAccess2> xSimpleFileAccess( - ucb::SimpleFileAccess::create( ::comphelper::ComponentContext(xFactory).getUNOContext() ) ); + ucb::SimpleFileAccess::create( ::comphelper::getComponentContext(xFactory) ) ); ::rtl::OUString aBackupURL; ::osl::Security().getConfigDir(aBackupURL); |