From d9b6f4fd38da9f875b78f6ff365bcb16fb2c8e8b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 25 Oct 2017 17:12:09 +0200 Subject: loplugin:constmethods in unotools Change-Id: I13df4e184a826682f34a1d9e974b601397ba4a3d Reviewed-on: https://gerrit.libreoffice.org/43865 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/sax/fastattribs.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/sax') diff --git a/include/sax/fastattribs.hxx b/include/sax/fastattribs.hxx index 75dca6a83f7f..1f343a7235b9 100644 --- a/include/sax/fastattribs.hxx +++ b/include/sax/fastattribs.hxx @@ -89,8 +89,8 @@ public: sal_Int32 AttributeValueLength(size_t i) const { return maAttributeValues[i + 1] - maAttributeValues[i] - 1; } // performance sensitive shortcuts to avoid allocation ... - bool getAsInteger( sal_Int32 nToken, sal_Int32 &rInt); - bool getAsDouble( sal_Int32 nToken, double &rDouble); + bool getAsInteger( sal_Int32 nToken, sal_Int32 &rInt) const; + bool getAsDouble( sal_Int32 nToken, double &rDouble) const; bool getAsChar( sal_Int32 nToken, const char*& rPos ) const; // XFastAttributeList -- cgit