diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-15 15:55:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-15 20:23:59 +0200 |
commit | 7841194ed70385627b9f8f88315fb1d0b5b8147c (patch) | |
tree | 9649156e3d7907c112a2bbd3e776fd6f502d3831 /unoxml/source | |
parent | 2dfb192edfd1ab10e9d39e265e26ac6db93ac755 (diff) |
loplugin:sequenceloop in unoxml..vcl
Change-Id: Ic3c48ec4d86252b62d3dd25bbc198f7d7fb75e90
Reviewed-on: https://gerrit.libreoffice.org/77533
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unoxml/source')
-rw-r--r-- | unoxml/source/dom/saxbuilder.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unoxml/source/dom/saxbuilder.cxx b/unoxml/source/dom/saxbuilder.cxx index 5769ad579666..00db5396da64 100644 --- a/unoxml/source/dom/saxbuilder.cxx +++ b/unoxml/source/dom/saxbuilder.cxx @@ -253,7 +253,7 @@ namespace DOM if (xAttribs.is()) { setElementFastAttributes(aElement, xAttribs); - Sequence< css::xml::Attribute > unknownAttribs = xAttribs->getUnknownAttributes(); + const Sequence< css::xml::Attribute > unknownAttribs = xAttribs->getUnknownAttributes(); for ( const auto& rUnknownAttrib : unknownAttribs ) { const OUString& rAttrValue = rUnknownAttrib.Value; |