diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-18 13:32:09 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-19 06:41:20 +0000 |
commit | 65bfed2bdb92b336ed64ac9d9fb1e7ace047885b (patch) | |
tree | 860e4e007471e92bf0bb227b65b2c879af8ac0c7 /unotools/source/ucbhelper/ucblockbytes.cxx | |
parent | 239cba2b06bc7894270aa68e381cc06a9d52773c (diff) |
loplugin:unusedmethods in unotools
Change-Id: I5729c2a20dd5fb310570cb9e4bb0e0874dbc8049
Reviewed-on: https://gerrit.libreoffice.org/25102
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
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 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 )); |