summaryrefslogtreecommitdiff
path: root/unoxml
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml')
-rw-r--r--unoxml/source/dom/saxbuilder.cxx2
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;