diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-23 09:23:20 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-23 10:37:31 +0200 |
commit | 5e01bae7f4a6f81ff70f328d0289dae37fab01eb (patch) | |
tree | cc126a1dbc37037cda74405e89e059f1cadc2fcf /include/sax | |
parent | 205eb935c286f52870d7ffd9b2d8b75c2d6bc57f (diff) |
loplugin:returnconstval in sax
Change-Id: Icf5c337164b71aab10dd960815eee516822c276c
Reviewed-on: https://gerrit.libreoffice.org/77990
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sax')
-rw-r--r-- | include/sax/fastattribs.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sax/fastattribs.hxx b/include/sax/fastattribs.hxx index f8005a65a27a..10ca8a2fad1f 100644 --- a/include/sax/fastattribs.hxx +++ b/include/sax/fastattribs.hxx @@ -190,9 +190,9 @@ public: return !strcmp(str, mrList.getFastAttributeValue(mnIdx)); } }; - const FastAttributeIter begin() const { return FastAttributeIter(*this, 0); } - const FastAttributeIter end() const { return FastAttributeIter(*this, maAttributeTokens.size()); } - const FastAttributeIter find( sal_Int32 nToken ) const; + FastAttributeIter begin() const { return FastAttributeIter(*this, 0); } + FastAttributeIter end() const { return FastAttributeIter(*this, maAttributeTokens.size()); } + FastAttributeIter find( sal_Int32 nToken ) const; private: sal_Char *mpChunk; ///< buffer to store all attribute values - null terminated strings |