diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-25 21:31:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-26 18:22:20 +0100 |
commit | 5e21a413c788f839a66d9e4c14e745ed18058db8 (patch) | |
tree | d4451246461346a425ad6f796e08bf1514cdd942 /hwpfilter/source/attributes.cxx | |
parent | Fixup whitespace changes, remove commented code. (diff) | |
download | core-5e21a413c788f839a66d9e4c14e745ed18058db8.tar.gz core-5e21a413c788f839a66d9e4c14e745ed18058db8.zip |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'hwpfilter/source/attributes.cxx')
-rw-r--r-- | hwpfilter/source/attributes.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/hwpfilter/source/attributes.cxx b/hwpfilter/source/attributes.cxx index 294d24def47c..57cf05b60b11 100644 --- a/hwpfilter/source/attributes.cxx +++ b/hwpfilter/source/attributes.cxx @@ -47,7 +47,7 @@ struct AttributeListImpl_impl std::vector<struct TagAttribute> vecAttribute; }; -sal_Int16 SAL_CALL AttributeListImpl::getLength(void) throw (RuntimeException) +sal_Int16 SAL_CALL AttributeListImpl::getLength(void) throw (RuntimeException, std::exception) { return (sal_Int16)m_pImpl->vecAttribute.size(); } @@ -61,7 +61,7 @@ cppu::WeakImplHelper1<com::sun::star::xml::sax::XAttributeList>( r ) } -OUString AttributeListImpl::getNameByIndex(sal_Int16 i) throw (RuntimeException) +OUString AttributeListImpl::getNameByIndex(sal_Int16 i) throw (RuntimeException, std::exception) { sal_uInt32 i2 = sal::static_int_cast<sal_Int16>(i); if( i >= 0 && i2 < m_pImpl->vecAttribute.size() ) @@ -72,7 +72,7 @@ OUString AttributeListImpl::getNameByIndex(sal_Int16 i) throw (RuntimeException) } -OUString AttributeListImpl::getTypeByIndex(sal_Int16 i) throw (RuntimeException) +OUString AttributeListImpl::getTypeByIndex(sal_Int16 i) throw (RuntimeException, std::exception) { sal_uInt32 i2 = sal::static_int_cast<sal_Int16>(i); if( i >= 0 && i2 < m_pImpl->vecAttribute.size() ) @@ -83,7 +83,7 @@ OUString AttributeListImpl::getTypeByIndex(sal_Int16 i) throw (RuntimeException) } -OUString AttributeListImpl::getValueByIndex(sal_Int16 i) throw (RuntimeException) +OUString AttributeListImpl::getValueByIndex(sal_Int16 i) throw (RuntimeException, std::exception) { sal_uInt32 i2 = sal::static_int_cast<sal_Int16>(i); if( i >= 0 && i2 < m_pImpl->vecAttribute.size() ) @@ -95,7 +95,7 @@ OUString AttributeListImpl::getValueByIndex(sal_Int16 i) throw (RuntimeException } -OUString AttributeListImpl::getTypeByName( const OUString& sName ) throw (RuntimeException) +OUString AttributeListImpl::getTypeByName( const OUString& sName ) throw (RuntimeException, std::exception) { std::vector<struct TagAttribute>::iterator ii = m_pImpl->vecAttribute.begin(); @@ -110,7 +110,7 @@ OUString AttributeListImpl::getTypeByName( const OUString& sName ) throw (Runtim } -OUString AttributeListImpl::getValueByName(const OUString& sName) throw (RuntimeException) +OUString AttributeListImpl::getValueByName(const OUString& sName) throw (RuntimeException, std::exception) { std::vector<struct TagAttribute>::iterator ii = m_pImpl->vecAttribute.begin(); |