diff options
Diffstat (limited to 'ucb/source/ucp/tdoc/tdoc_provider.cxx')
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_provider.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_provider.cxx b/ucb/source/ucp/tdoc/tdoc_provider.cxx index be5a4f1920fb..b2f06d575477 100644 --- a/ucb/source/ucp/tdoc/tdoc_provider.cxx +++ b/ucb/source/ucp/tdoc/tdoc_provider.cxx @@ -38,6 +38,7 @@ #include "com/sun/star/container/XNameAccess.hpp" #include "com/sun/star/embed/XStorage.hpp" +#include "comphelper/componentcontext.hxx" #include "ucbhelper/contentidentifier.hxx" #include "tdoc_provider.hxx" @@ -60,7 +61,7 @@ using namespace tdoc_ucp; ContentProvider::ContentProvider( const uno::Reference< lang::XMultiServiceFactory >& xSMgr ) : ::ucbhelper::ContentProviderImplHelper( xSMgr ), - m_xDocsMgr( new OfficeDocumentsManager( xSMgr, this ) ), + m_xDocsMgr( new OfficeDocumentsManager( comphelper::ComponentContext(xSMgr).getUNOContext(), this ) ), m_xStgElemFac( new StorageElementFactory( xSMgr, m_xDocsMgr ) ) { } |