summaryrefslogtreecommitdiff
path: root/package/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-12-21 15:31:32 +0200
committerNoel Grandin <noel@peralex.com>2015-12-22 09:53:27 +0200
commit98f4f2bb0f873d6cae8e9646d8eecc857c1cdd0f (patch)
tree7016968a58f701e68ca2de092eb9da41810faac5 /package/source
parent4e8e81f0d6dcbdd4d491cec09dfb485ffa30ab98 (diff)
loplugin:unusedfields in oox,package
Change-Id: I8f8c3ff9ded455a09f3df81c501da17cca0b2310
Diffstat (limited to 'package/source')
-rw-r--r--package/source/xstor/switchpersistencestream.cxx9
-rw-r--r--package/source/zipapi/XUnbufferedStream.cxx2
-rw-r--r--package/source/zipapi/XUnbufferedStream.hxx1
3 files changed, 3 insertions, 9 deletions
diff --git a/package/source/xstor/switchpersistencestream.cxx b/package/source/xstor/switchpersistencestream.cxx
index 88a5ab0988f7..fbada20a77f5 100644
--- a/package/source/xstor/switchpersistencestream.cxx
+++ b/package/source/xstor/switchpersistencestream.cxx
@@ -33,7 +33,6 @@ struct SPStreamData_Impl
// the streams below are not visible from outside so there is no need to remember position
// original stream related members
- uno::Reference< io::XStream > m_xOrigStream;
uno::Reference< io::XTruncate > m_xOrigTruncate;
uno::Reference< io::XSeekable > m_xOrigSeekable;
uno::Reference< io::XInputStream > m_xOrigInStream;
@@ -44,7 +43,6 @@ struct SPStreamData_Impl
SPStreamData_Impl(
bool bInStreamBased,
- const uno::Reference< io::XStream >& xOrigStream,
const uno::Reference< io::XTruncate >& xOrigTruncate,
const uno::Reference< io::XSeekable >& xOrigSeekable,
const uno::Reference< io::XInputStream >& xOrigInStream,
@@ -52,7 +50,6 @@ struct SPStreamData_Impl
bool bInOpen,
bool bOutOpen )
: m_bInStreamBased( bInStreamBased )
- , m_xOrigStream( xOrigStream )
, m_xOrigTruncate( xOrigTruncate )
, m_xOrigSeekable( xOrigSeekable )
, m_xOrigInStream( xOrigInStream )
@@ -116,7 +113,7 @@ void SwitchablePersistenceStream::SwitchPersistenceTo( const uno::Reference< io:
CloseAll_Impl();
m_pStreamData = new SPStreamData_Impl( false,
- xStream, xNewTruncate, xNewSeekable, xNewInStream, xNewOutStream,
+ xNewTruncate, xNewSeekable, xNewInStream, xNewOutStream,
bInOpen, bOutOpen );
}
@@ -150,7 +147,7 @@ void SwitchablePersistenceStream::SwitchPersistenceTo( const uno::Reference< io:
CloseAll_Impl();
m_pStreamData = new SPStreamData_Impl( true,
- xNewStream, xNewTruncate, xNewSeekable, xInputStream, xNewOutStream,
+ xNewTruncate, xNewSeekable, xInputStream, xNewOutStream,
bInOpen, bOutOpen );
}
@@ -194,7 +191,7 @@ void SwitchablePersistenceStream::CopyAndSwitchPersistenceTo( const uno::Referen
CloseAll_Impl();
m_pStreamData = new SPStreamData_Impl( false,
- xTargetStream, xTargetTruncate, xTargetSeek, xTargetInStream, xTargetOutStream,
+ xTargetTruncate, xTargetSeek, xTargetInStream, xTargetOutStream,
bInOpen, bOutOpen );
}
diff --git a/package/source/zipapi/XUnbufferedStream.cxx b/package/source/zipapi/XUnbufferedStream.cxx
index 3af35f9e8246..c005fc13e59e 100644
--- a/package/source/zipapi/XUnbufferedStream.cxx
+++ b/package/source/zipapi/XUnbufferedStream.cxx
@@ -53,7 +53,6 @@ XUnbufferedStream::XUnbufferedStream(
, mxZipStream ( xNewZipStream )
, mxZipSeek ( xNewZipStream, UNO_QUERY )
, maEntry ( rEntry )
-, mxData ( rData )
, mnBlockSize( 1 )
, maInflater ( true )
, mbRawStream ( nStreamMode == UNBUFF_STREAM_RAW || nStreamMode == UNBUFF_STREAM_WRAPPEDRAW )
@@ -116,7 +115,6 @@ XUnbufferedStream::XUnbufferedStream(
: maMutexHolder( new SotMutexHolder )
, mxZipStream ( xRawStream )
, mxZipSeek ( xRawStream, UNO_QUERY )
-, mxData ( rData )
, mnBlockSize( 1 )
, maInflater ( true )
, mbRawStream ( false )
diff --git a/package/source/zipapi/XUnbufferedStream.hxx b/package/source/zipapi/XUnbufferedStream.hxx
index 98674ebc3d0e..26167e2e9b90 100644
--- a/package/source/zipapi/XUnbufferedStream.hxx
+++ b/package/source/zipapi/XUnbufferedStream.hxx
@@ -53,7 +53,6 @@ protected:
css::uno::Reference < css::io::XSeekable > mxZipSeek;
css::uno::Sequence < sal_Int8 > maCompBuffer, maHeader;
ZipEntry maEntry;
- ::rtl::Reference< EncryptionData > mxData;
sal_Int32 mnBlockSize;
css::uno::Reference< css::xml::crypto::XCipherContext > m_xCipherContext;
ZipUtils::Inflater maInflater;