diff options
Diffstat (limited to 'sfx2/source/appl/xpackcreator.cxx')
-rw-r--r-- | sfx2/source/appl/xpackcreator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/appl/xpackcreator.cxx b/sfx2/source/appl/xpackcreator.cxx index de3d37a002a1..302833dc9658 100644 --- a/sfx2/source/appl/xpackcreator.cxx +++ b/sfx2/source/appl/xpackcreator.cxx @@ -23,6 +23,7 @@ #include "xpackcreator.hxx" +#include <comphelper/processfactory.hxx> #include <sot/stg.hxx> #include <sot/storage.hxx> #include <tools/stream.hxx> @@ -79,7 +80,7 @@ void SAL_CALL OPackageStructureCreator::convertToPackage( const ::rtl::OUString& sal_Bool bSuccess = sal_False; ::ucbhelper::Content aContent; - if( ::ucbhelper::Content::create( aFolderUrl, xComEnv, aContent ) ) + if( ::ucbhelper::Content::create( aFolderUrl, xComEnv, comphelper::getProcessComponentContext(), aContent ) ) { SvStream* pTempStream = NULL; |