From 581efdec36787dc5e378e54d13e7328fddcf3a50 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 1 Oct 2021 13:01:58 +0200 Subject: loplugin:constmethod Change-Id: I3ed657c5c5e6840e38e3c8505505b4b372125df0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122910 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/package/Inflater.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/package') diff --git a/include/package/Inflater.hxx b/include/package/Inflater.hxx index 1b9b134a4ff7..d8b36e175a6b 100644 --- a/include/package/Inflater.hxx +++ b/include/package/Inflater.hxx @@ -42,8 +42,8 @@ public: Inflater(bool bNoWrap); ~Inflater(); void setInput( const css::uno::Sequence< sal_Int8 >& rBuffer ); - bool needsDictionary( ) { return bNeedDict;} - bool finished( ) { return bFinished;} + bool needsDictionary() const { return bNeedDict; } + bool finished() const { return bFinished; } sal_Int32 doInflateSegment( css::uno::Sequence< sal_Int8 >& rBuffer, sal_Int32 nNewOffset, sal_Int32 nNewLength ); void end( ); -- cgit