summaryrefslogtreecommitdiff
path: root/package/source/zipapi/MemoryByteGrabber.hxx
diff options
context:
space:
mode:
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; }