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.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/xmlscript/source/xml_helper/xml_element.cxx b/xmlscript/source/xml_helper/xml_element.cxx
index 1347ac84d582..326ba5305124 100644
--- a/xmlscript/source/xml_helper/xml_element.cxx
+++ b/xmlscript/source/xml_helper/xml_element.cxx
@@ -63,20 +63,17 @@ void XMLElement::dump( Reference< xml::sax::XDocumentHandler > const & xOut )
// XAttributeList
sal_Int16 XMLElement::getLength()
- throw (RuntimeException, std::exception)
{
return static_cast<sal_Int16>(_attrNames.size());
}
OUString XMLElement::getNameByIndex( sal_Int16 nPos )
- throw (RuntimeException, std::exception)
{
OSL_ASSERT( (size_t)nPos < _attrNames.size() );
return _attrNames[ nPos ];
}
OUString XMLElement::getTypeByIndex( sal_Int16 nPos )
- throw (RuntimeException, std::exception)
{
OSL_ASSERT( (size_t)nPos < _attrNames.size() );
static_cast<void>(nPos);
@@ -85,21 +82,18 @@ OUString XMLElement::getTypeByIndex( sal_Int16 nPos )
}
OUString XMLElement::getTypeByName( OUString const & /*rName*/ )
- throw (RuntimeException, std::exception)
{
// xxx todo
return OUString();
}
OUString XMLElement::getValueByIndex( sal_Int16 nPos )
- throw (RuntimeException, std::exception)
{
OSL_ASSERT( (size_t)nPos < _attrNames.size() );
return _attrValues[ nPos ];
}
OUString XMLElement::getValueByName( OUString const & rName )
- throw (RuntimeException, std::exception)
{
for ( size_t nPos = 0; nPos < _attrNames.size(); ++nPos )
{