summaryrefslogtreecommitdiff
path: root/xmlscript/source/xml_helper/xml_element.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlscript/source/xml_helper/xml_element.cxx')
-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 5b8b6b0326db..02bfdc98245e 100644
--- a/xmlscript/source/xml_helper/xml_element.cxx
+++ b/xmlscript/source/xml_helper/xml_element.cxx
@@ -37,7 +37,7 @@ void XMLElement::addSubElement( Reference< xml::sax::XAttributeList > const & xE
_subElems.push_back( xElem );
}
-Reference< xml::sax::XAttributeList > XMLElement::getSubElement( sal_Int32 nIndex )
+Reference< xml::sax::XAttributeList > const & XMLElement::getSubElement( sal_Int32 nIndex )
{
return _subElems[ (size_t)nIndex ];
}