summaryrefslogtreecommitdiff
path: root/xmlscript
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-20 15:55:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-20 16:57:05 +0200
commit7ae43f63aad28c2cabb7cde6ea308055133fbde8 (patch)
tree26b244b295d518419243b7b7dd99429c5b796309 /xmlscript
parent3e52f67c49b5cde7661d0cca2ea72ff10d55a12c (diff)
loplugin:constvars in writerfilter..xmlscript
Change-Id: I5a318632bcc575ea7e476ec0fb74c905b252ecdd Reviewed-on: https://gerrit.libreoffice.org/77829 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlscript')
-rw-r--r--xmlscript/source/xml_helper/xml_element.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlscript/source/xml_helper/xml_element.cxx b/xmlscript/source/xml_helper/xml_element.cxx
index 9eb0ea7d423a..5bcb109cd044 100644
--- a/xmlscript/source/xml_helper/xml_element.cxx
+++ b/xmlscript/source/xml_helper/xml_element.cxx
@@ -45,7 +45,7 @@ Reference< xml::sax::XAttributeList > const & XMLElement::getSubElement( sal_Int
void XMLElement::dumpSubElements( Reference< xml::sax::XDocumentHandler > const & xOut )
{
- for (Reference<XAttributeList> & _subElem : _subElems)
+ for (const Reference<XAttributeList> & _subElem : _subElems)
{
XMLElement * pElem = static_cast< XMLElement * >( _subElem.get() );
pElem->dump( xOut );