diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-02 12:01:01 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-03 09:07:05 +0200 |
commit | 0d7f5e060663cb747b0dc50bb76c162484e4dae4 (patch) | |
tree | deab5b72a483423f3a30cfd202c997b8446aa681 /package/source/xstor | |
parent | 60fd81d83a2dbcb64a38910de49f8e2620353702 (diff) |
loplugin:checkunusedparams in package..reportdesign
Change-Id: I8ebccc413153667269954c303e216b155ee9d1ae
Reviewed-on: https://gerrit.libreoffice.org/37145
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'package/source/xstor')
-rw-r--r-- | package/source/xstor/owriteablestream.cxx | 6 | ||||
-rw-r--r-- | package/source/xstor/owriteablestream.hxx | 1 |
2 files changed, 3 insertions, 4 deletions
diff --git a/package/source/xstor/owriteablestream.cxx b/package/source/xstor/owriteablestream.cxx index d3e47db57f72..9c4c6f3cc680 100644 --- a/package/source/xstor/owriteablestream.cxx +++ b/package/source/xstor/owriteablestream.cxx @@ -1391,7 +1391,7 @@ void OWriteStream_Impl::InputStreamDisposed( OInputCompStream* pStream ) m_aInputStreamsList.remove( pStream ); } -void OWriteStream_Impl::CreateReadonlyCopyBasedOnData( const uno::Reference< io::XInputStream >& xDataToCopy, const uno::Sequence< beans::PropertyValue >& aProps, bool, uno::Reference< io::XStream >& xTargetStream ) +void OWriteStream_Impl::CreateReadonlyCopyBasedOnData( const uno::Reference< io::XInputStream >& xDataToCopy, const uno::Sequence< beans::PropertyValue >& aProps, uno::Reference< io::XStream >& xTargetStream ) { uno::Reference < io::XStream > xTempFile; if ( !xTargetStream.is() ) @@ -1455,7 +1455,7 @@ void OWriteStream_Impl::GetCopyOfLastCommit( uno::Reference< io::XStream >& xTar // in case of new inserted package stream it is possible that input stream still was not set GetStreamProperties(); - CreateReadonlyCopyBasedOnData( xDataToCopy, m_aProps, m_bUseCommonEncryption, xTargetStream ); + CreateReadonlyCopyBasedOnData( xDataToCopy, m_aProps, xTargetStream ); } } @@ -1521,7 +1521,7 @@ void OWriteStream_Impl::GetCopyOfLastCommit( uno::Reference< io::XStream >& xTar // in case of new inserted package stream it is possible that input stream still was not set GetStreamProperties(); - CreateReadonlyCopyBasedOnData( xDataToCopy, m_aProps, m_bUseCommonEncryption, xTargetStream ); + CreateReadonlyCopyBasedOnData( xDataToCopy, m_aProps, xTargetStream ); } void OWriteStream_Impl::CommitStreamRelInfo( const uno::Reference< embed::XStorage >& xRelStorage, const OUString& aOrigStreamName, const OUString& aNewStreamName ) diff --git a/package/source/xstor/owriteablestream.hxx b/package/source/xstor/owriteablestream.hxx index a7cd759b6a72..dde8375155bd 100644 --- a/package/source/xstor/owriteablestream.hxx +++ b/package/source/xstor/owriteablestream.hxx @@ -209,7 +209,6 @@ public: void CreateReadonlyCopyBasedOnData( const css::uno::Reference< css::io::XInputStream >& xDataToCopy, const css::uno::Sequence< css::beans::PropertyValue >& aProps, - bool bUseCommonEncryption, css::uno::Reference< css::io::XStream >& xTargetStream ); void GetCopyOfLastCommit( css::uno::Reference< css::io::XStream >& xTargetStream ); |