diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-11-01 10:34:37 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-11-01 10:34:37 +0100 |
commit | 14d9b07fb5d5895b056fbf8dd47c3b326f200f55 (patch) | |
tree | 61695d9c602883451e36ef409860758393cd1102 /package | |
parent | fedb29b305a73dc471ce7035406b5dc489011972 (diff) |
-Werror,-Wunused-private-field
Change-Id: I4ba10f68cf87315a9a3f6970338b8d9f6ac7a62c
Diffstat (limited to 'package')
-rw-r--r-- | package/inc/ByteChucker.hxx | 4 | ||||
-rw-r--r-- | package/source/zipapi/ByteChucker.cxx | 2 | ||||
-rw-r--r-- | package/source/zipapi/MemoryByteGrabber.hxx | 4 |
3 files changed, 3 insertions, 7 deletions
diff --git a/package/inc/ByteChucker.hxx b/package/inc/ByteChucker.hxx index b3870c0c6163..03988e925ccb 100644 --- a/package/inc/ByteChucker.hxx +++ b/package/inc/ByteChucker.hxx @@ -34,8 +34,8 @@ class ByteChucker final { css::uno::Reference < css::io::XOutputStream > xStream; css::uno::Reference < css::io::XSeekable > xSeek; - css::uno::Sequence < sal_Int8 > a1Sequence, a2Sequence, a4Sequence; - sal_Int8 * const p1Sequence, * const p2Sequence, * const p4Sequence; + css::uno::Sequence < sal_Int8 > a2Sequence, a4Sequence; + sal_Int8 * const p2Sequence, * const p4Sequence; public: ByteChucker (css::uno::Reference<css::io::XOutputStream> const & xOstream); diff --git a/package/source/zipapi/ByteChucker.cxx b/package/source/zipapi/ByteChucker.cxx index bc7443b68968..af534e58e22e 100644 --- a/package/source/zipapi/ByteChucker.cxx +++ b/package/source/zipapi/ByteChucker.cxx @@ -29,10 +29,8 @@ using namespace ::com::sun::star::lang; ByteChucker::ByteChucker(Reference<XOutputStream> const & xOstream) : xStream(xOstream) , xSeek (xOstream, UNO_QUERY ) -, a1Sequence ( 1 ) , a2Sequence ( 2 ) , a4Sequence ( 4 ) -, p1Sequence ( a1Sequence.getArray() ) , p2Sequence ( a2Sequence.getArray() ) , p4Sequence ( a4Sequence.getArray() ) { diff --git a/package/source/zipapi/MemoryByteGrabber.hxx b/package/source/zipapi/MemoryByteGrabber.hxx index c09b4cfb20b0..1366eea478b0 100644 --- a/package/source/zipapi/MemoryByteGrabber.hxx +++ b/package/source/zipapi/MemoryByteGrabber.hxx @@ -25,13 +25,11 @@ class MemoryByteGrabber final { - const css::uno::Sequence < sal_Int8 > maBuffer; const sal_Int8 *mpBuffer; sal_Int32 mnCurrent, mnEnd; public: MemoryByteGrabber ( const css::uno::Sequence < sal_Int8 > & rBuffer ) - : maBuffer ( rBuffer ) - , mpBuffer ( rBuffer.getConstArray() ) + : mpBuffer ( rBuffer.getConstArray() ) , mnCurrent ( 0 ) , mnEnd ( rBuffer.getLength() ) { |