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.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx
index a73b87cf0011..a87ef191e08a 100644
--- a/unotools/source/ucbhelper/ucblockbytes.cxx
+++ b/unotools/source/ucbhelper/ucblockbytes.cxx
@@ -1392,13 +1392,13 @@ UcbLockBytesRef UcbLockBytes::CreateLockBytes( const Reference< XStream >& xStre
}
UcbLockBytesRef UcbLockBytes::CreateLockBytes( const Reference < XContent >& xContent, const Sequence < PropertyValue >& rProps,
- StreamMode eOpenMode, const Reference < XInteractionHandler >& xInteractionHandler, UcbLockBytesHandler* pHandler )
+ StreamMode eOpenMode, const Reference < XInteractionHandler >& xInteractionHandler )
{
if( !xContent.is() )
return nullptr;
UcbLockBytesRef xLockBytes = new UcbLockBytes;
- xLockBytes->SetSynchronMode( !pHandler );
+ xLockBytes->SetSynchronMode( true );
Reference< XActiveDataControl > xSink;
if ( eOpenMode & StreamMode::WRITE )
xSink = static_cast<XActiveDataControl*>(new UcbStreamer_Impl( xLockBytes ));