diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-23 16:28:13 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-24 08:32:46 +0200 |
commit | 0b7fe7b2ceff8056b619b994fc765eb827f29bf3 (patch) | |
tree | fe296a2aaa31123aa0ec4d23c00a79855c69fcb5 /xmlreader | |
parent | f08a06052bfe38c2bc0a23bd2c56ff9c1cb5536c (diff) |
loplugin:unusedfields,can-be-const in xmlreader
Change-Id: I762a749b858063a1c063ee918bb6d33e06328876
Reviewed-on: https://gerrit.libreoffice.org/57852
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlreader')
-rw-r--r-- | xmlreader/source/xmlreader.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlreader/source/xmlreader.cxx b/xmlreader/source/xmlreader.cxx index 8e544b6a07d0..699567a53a32 100644 --- a/xmlreader/source/xmlreader.cxx +++ b/xmlreader/source/xmlreader.cxx @@ -458,9 +458,9 @@ char const * XmlReader::handleReference(char const * position, char const * end) } else { struct EntityRef { char const * inBegin; - sal_Int32 inLength; + sal_Int32 const inLength; char const * outBegin; - sal_Int32 outLength; + sal_Int32 const outLength; }; static EntityRef const refs[] = { { RTL_CONSTASCII_STRINGPARAM("amp;"), |