summaryrefslogtreecommitdiff
path: root/unotools/source/ucbhelper/ucblockbytes.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/source/ucbhelper/ucblockbytes.cxx')
-rw-r--r--unotools/source/ucbhelper/ucblockbytes.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx
index e74c83d5df68..2b709a98c157 100644
--- a/unotools/source/ucbhelper/ucblockbytes.cxx
+++ b/unotools/source/ucbhelper/ucblockbytes.cxx
@@ -54,8 +54,6 @@
#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <comphelper/storagehelper.hxx>
-
-#include <ucbhelper/contentbroker.hxx>
#include <ucbhelper/content.hxx>
using namespace ::com::sun::star::uno;
@@ -628,8 +626,8 @@ Moderator::Moderator(
xContent,
new UcbTaskEnvironment(
xInteract.is() ? new ModeratorsInteractionHandler(*this) : 0,
- xProgress.is() ? new ModeratorsProgressHandler(*this) : 0
- ))
+ xProgress.is() ? new ModeratorsProgressHandler(*this) : 0),
+ comphelper::getProcessComponentContext())
{
// now exchange the whole data sink stuff
// with a thread safe version
@@ -1149,7 +1147,9 @@ static sal_Bool _UCBOpenContentSync(
Reference < XProgressHandler > xProgress,
UcbLockBytesHandlerRef xHandler )
{
- ::ucbhelper::Content aContent( xContent, new UcbTaskEnvironment( xInteract, xProgress ) );
+ ::ucbhelper::Content aContent(
+ xContent, new UcbTaskEnvironment( xInteract, xProgress ),
+ comphelper::getProcessComponentContext() );
Reference < XContentIdentifier > xIdent = xContent->getIdentifier();
::rtl::OUString aScheme = xIdent->getContentProviderScheme();