diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-20 11:15:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-20 13:59:25 +0200 |
commit | 316b07d0af06948c69c1375c67c01903b8eeb134 (patch) | |
tree | d51f01c2f443c82de5a078b90f189af787308ccf /sax/source | |
parent | ff6e8c73adef7c86db12287948025954a4fc7746 (diff) |
loplugin:constvars in package..sc
Change-Id: Ibaa9ebd6440d9229ba313f4c130f5752d432b338
Reviewed-on: https://gerrit.libreoffice.org/77792
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sax/source')
-rw-r--r-- | sax/source/tools/fastattribs.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sax/source/tools/fastattribs.cxx b/sax/source/tools/fastattribs.cxx index bc80a5b31f4c..6175c7873882 100644 --- a/sax/source/tools/fastattribs.cxx +++ b/sax/source/tools/fastattribs.cxx @@ -236,7 +236,7 @@ Sequence< Attribute > FastAttributeList::getUnknownAttributes( ) { Sequence< Attribute > aSeq( maUnknownAttributes.size() ); Attribute* pAttr = aSeq.getArray(); - for( auto& rAttr : maUnknownAttributes ) + for( const auto& rAttr : maUnknownAttributes ) rAttr.FillAttribute( pAttr++ ); return aSeq; } |