summaryrefslogtreecommitdiff
path: root/package/source/zipapi/MemoryByteGrabber.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-21 20:06:19 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-22 09:34:43 +0200
commit7a769391772b1184d801a123fb226017e8d65848 (patch)
tree41e5a167d37a549d54bf4ad0b12b48b9c3221ac9 /package/source/zipapi/MemoryByteGrabber.hxx
parentd5b07dc9c0185e59077e54c91792476dcbba8d44 (diff)
loplugin:constmethod in package
Change-Id: I44bc86a179164e1d039dd3a5f2c8a23396d870b3 Reviewed-on: https://gerrit.libreoffice.org/77931 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'package/source/zipapi/MemoryByteGrabber.hxx')
-rw-r--r--package/source/zipapi/MemoryByteGrabber.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/source/zipapi/MemoryByteGrabber.hxx b/package/source/zipapi/MemoryByteGrabber.hxx
index 9b1c096ae056..9f52204ead67 100644
--- a/package/source/zipapi/MemoryByteGrabber.hxx
+++ b/package/source/zipapi/MemoryByteGrabber.hxx
@@ -36,7 +36,7 @@ public:
}
MemoryByteGrabber(css::uno::Sequence<sal_Int8> &&) = delete;
- const sal_Int8 * getCurrentPos () { return mpBuffer + mnCurrent; }
+ const sal_Int8 * getCurrentPos () const { return mpBuffer + mnCurrent; }
sal_Int32 remainingSize() const { return mnEnd - mnCurrent; }