diff options
Diffstat (limited to 'unotools/source/ucbhelper/ucblockbytes.cxx')
-rw-r--r-- | unotools/source/ucbhelper/ucblockbytes.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx index f3a556e06be1..70dd91ff6ffb 100644 --- a/unotools/source/ucbhelper/ucblockbytes.cxx +++ b/unotools/source/ucbhelper/ucblockbytes.cxx @@ -1395,9 +1395,9 @@ UcbLockBytesRef UcbLockBytes::CreateLockBytes( const Reference < XContent >& xCo xLockBytes->SetSynchronMode(); Reference< XActiveDataControl > xSink; if ( eOpenMode & StreamMode::WRITE ) - xSink = static_cast<XActiveDataControl*>(new UcbStreamer_Impl( xLockBytes )); + xSink = static_cast<XActiveDataControl*>(new UcbStreamer_Impl( xLockBytes.get() )); else - xSink = static_cast<XActiveDataControl*>(new UcbDataSink_Impl( xLockBytes )); + xSink = static_cast<XActiveDataControl*>(new UcbDataSink_Impl( xLockBytes.get() )); if ( rProps.getLength() ) { |