summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/tdoc/tdoc_content.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/tdoc/tdoc_content.cxx')
-rw-r--r--ucb/source/ucp/tdoc/tdoc_content.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_content.cxx b/ucb/source/ucp/tdoc/tdoc_content.cxx
index 6b8e17b15fc5..9946fea42067 100644
--- a/ucb/source/ucp/tdoc/tdoc_content.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_content.cxx
@@ -56,6 +56,7 @@
#include "com/sun/star/ucb/XCommandInfo.hpp"
#include "com/sun/star/ucb/XPersistentPropertySet.hpp"
+#include "comphelper/processfactory.hxx"
#include "ucbhelper/cancelcommandexecution.hxx"
#include "ucbhelper/contentidentifier.hxx"
#include "ucbhelper/propertyvalueset.hxx"
@@ -1417,7 +1418,7 @@ uno::Any Content::open(
//////////////////////////////////////////////////////////////////
uno::Reference< ucb::XDynamicResultSet > xSet
- = new DynamicResultSet( m_xSMgr, this, rArg );
+ = new DynamicResultSet( comphelper::getComponentContext(m_xSMgr), this, rArg );
return uno::makeAny( xSet );
}
else