diff options
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 c3683138f14c..a59850e51fca 100644 --- a/hwpfilter/source/attributes.cxx +++ b/hwpfilter/source/attributes.cxx @@ -46,7 +46,7 @@ struct AttributeListImpl_impl std::vector<struct TagAttribute> vecAttribute; }; -sal_Int16 SAL_CALL AttributeListImpl::getLength() throw (RuntimeException, std::exception) +sal_Int16 SAL_CALL AttributeListImpl::getLength() { return (sal_Int16)m_pImpl->vecAttribute.size(); } @@ -60,7 +60,7 @@ AttributeListImpl::AttributeListImpl( const AttributeListImpl &r ) } -OUString AttributeListImpl::getNameByIndex(sal_Int16 i) throw (RuntimeException, std::exception) +OUString AttributeListImpl::getNameByIndex(sal_Int16 i) { sal_uInt32 i2 = sal::static_int_cast<sal_Int16>(i); if( i >= 0 && i2 < m_pImpl->vecAttribute.size() ) @@ -71,7 +71,7 @@ OUString AttributeListImpl::getNameByIndex(sal_Int16 i) throw (RuntimeException, } -OUString AttributeListImpl::getTypeByIndex(sal_Int16 i) throw (RuntimeException, std::exception) +OUString AttributeListImpl::getTypeByIndex(sal_Int16 i) { sal_uInt32 i2 = sal::static_int_cast<sal_Int16>(i); if( i >= 0 && i2 < m_pImpl->vecAttribute.size() ) @@ -82,7 +82,7 @@ OUString AttributeListImpl::getTypeByIndex(sal_Int16 i) throw (RuntimeException, } -OUString AttributeListImpl::getValueByIndex(sal_Int16 i) throw (RuntimeException, std::exception) +OUString AttributeListImpl::getValueByIndex(sal_Int16 i) { sal_uInt32 i2 = sal::static_int_cast<sal_Int16>(i); if( i >= 0 && i2 < m_pImpl->vecAttribute.size() ) @@ -94,7 +94,7 @@ OUString AttributeListImpl::getValueByIndex(sal_Int16 i) throw (RuntimeException } -OUString AttributeListImpl::getTypeByName( const OUString& sName ) throw (RuntimeException, std::exception) +OUString AttributeListImpl::getTypeByName( const OUString& sName ) { std::vector<struct TagAttribute>::iterator ii = m_pImpl->vecAttribute.begin(); @@ -109,7 +109,7 @@ OUString AttributeListImpl::getTypeByName( const OUString& sName ) throw (Runtim } -OUString AttributeListImpl::getValueByName(const OUString& sName) throw (RuntimeException, std::exception) +OUString AttributeListImpl::getValueByName(const OUString& sName) { std::vector<struct TagAttribute>::iterator ii = m_pImpl->vecAttribute.begin(); |