diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-25 17:12:09 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-26 10:59:42 +0200 |
commit | d9b6f4fd38da9f875b78f6ff365bcb16fb2c8e8b (patch) | |
tree | 7d38b04189cfa4fd4f4f91324fc6c95f360f080c /include/sax | |
parent | 084f454e8caa2d9e43f7bdea098538bfb87423d8 (diff) |
loplugin:constmethods in unotools
Change-Id: I13df4e184a826682f34a1d9e974b601397ba4a3d
Reviewed-on: https://gerrit.libreoffice.org/43865
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sax')
-rw-r--r-- | include/sax/fastattribs.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
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 |