diff options
Diffstat (limited to 'unoxml/source/xpath/nodelist.cxx')
-rw-r--r-- | unoxml/source/xpath/nodelist.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unoxml/source/xpath/nodelist.cxx b/unoxml/source/xpath/nodelist.cxx index dbe225bcbc95..7b3fb19b2eb3 100644 --- a/unoxml/source/xpath/nodelist.cxx +++ b/unoxml/source/xpath/nodelist.cxx @@ -41,7 +41,7 @@ namespace XPath /** The number of nodes in the list. */ - sal_Int32 SAL_CALL CNodeList::getLength() throw (RuntimeException) + sal_Int32 SAL_CALL CNodeList::getLength() throw (RuntimeException, std::exception) { ::osl::MutexGuard const g(m_rMutex); @@ -55,7 +55,7 @@ namespace XPath Returns the indexth item in the collection. */ Reference< XNode > SAL_CALL CNodeList::item(sal_Int32 index) - throw (RuntimeException) + throw (RuntimeException, std::exception) { ::osl::MutexGuard const g(m_rMutex); |