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 /cppuhelper/source/propertysetmixin.cxx | |
parent | 6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff) |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'cppuhelper/source/propertysetmixin.cxx')
-rw-r--r-- | cppuhelper/source/propertysetmixin.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cppuhelper/source/propertysetmixin.cxx b/cppuhelper/source/propertysetmixin.cxx index 466b53067394..97bdc3f53ff7 100644 --- a/cppuhelper/source/propertysetmixin.cxx +++ b/cppuhelper/source/propertysetmixin.cxx @@ -288,10 +288,10 @@ public: virtual css::beans::Property SAL_CALL getPropertyByName( rtl::OUString const & name) throw ( - css::beans::UnknownPropertyException, css::uno::RuntimeException); + css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception); virtual sal_Bool SAL_CALL hasPropertyByName(rtl::OUString const & name) - throw (css::uno::RuntimeException); + throw (css::uno::RuntimeException, std::exception); private: rtl::Reference< Data > m_data; @@ -316,14 +316,14 @@ css::uno::Sequence< css::beans::Property > Info::getProperties() } css::beans::Property Info::getPropertyByName(rtl::OUString const & name) - throw (css::beans::UnknownPropertyException, css::uno::RuntimeException) + throw (css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) { return m_data->get(static_cast< cppu::OWeakObject * >(this), name)-> second.property; } sal_Bool Info::hasPropertyByName(rtl::OUString const & name) - throw (css::uno::RuntimeException) + throw (css::uno::RuntimeException, std::exception) { Data::PropertyMap::iterator i(m_data->properties.find(name)); return i != m_data->properties.end() && i->second.present; @@ -962,7 +962,7 @@ void PropertySetMixinImpl::dispose() { } css::uno::Any PropertySetMixinImpl::queryInterface(css::uno::Type const & type) - throw (css::uno::RuntimeException) + throw (css::uno::RuntimeException, std::exception) { if (((m_impl->implements & IMPLEMENTS_PROPERTY_SET) != 0 && type == css::beans::XPropertySet::static_type())) |