summaryrefslogtreecommitdiff
path: root/package/source/zipapi/MemoryByteGrabber.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-11-01 10:34:37 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-11-01 10:34:37 +0100
commit14d9b07fb5d5895b056fbf8dd47c3b326f200f55 (patch)
tree61695d9c602883451e36ef409860758393cd1102 /package/source/zipapi/MemoryByteGrabber.hxx
parentfedb29b305a73dc471ce7035406b5dc489011972 (diff)
-Werror,-Wunused-private-field
Change-Id: I4ba10f68cf87315a9a3f6970338b8d9f6ac7a62c
Diffstat (limited to 'package/source/zipapi/MemoryByteGrabber.hxx')
-rw-r--r--package/source/zipapi/MemoryByteGrabber.hxx4
1 files changed, 1 insertions, 3 deletions
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() )
{