diff options
Diffstat (limited to 'xmlscript/source/xml_helper/xml_element.cxx')
-rw-r--r-- | xmlscript/source/xml_helper/xml_element.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmlscript/source/xml_helper/xml_element.cxx b/xmlscript/source/xml_helper/xml_element.cxx index bd9a3dc12d03..326ba5305124 100644 --- a/xmlscript/source/xml_helper/xml_element.cxx +++ b/xmlscript/source/xml_helper/xml_element.cxx @@ -69,13 +69,13 @@ sal_Int16 XMLElement::getLength() OUString XMLElement::getNameByIndex( sal_Int16 nPos ) { - assert( (size_t)nPos < _attrNames.size() ); + OSL_ASSERT( (size_t)nPos < _attrNames.size() ); return _attrNames[ nPos ]; } OUString XMLElement::getTypeByIndex( sal_Int16 nPos ) { - assert( (size_t)nPos < _attrNames.size() ); + OSL_ASSERT( (size_t)nPos < _attrNames.size() ); static_cast<void>(nPos); // xxx todo return OUString(); @@ -89,7 +89,7 @@ OUString XMLElement::getTypeByName( OUString const & /*rName*/ ) OUString XMLElement::getValueByIndex( sal_Int16 nPos ) { - assert( (size_t)nPos < _attrNames.size() ); + OSL_ASSERT( (size_t)nPos < _attrNames.size() ); return _attrValues[ nPos ]; } |