diff options
-rw-r--r-- | include/sfx2/sidebar/Theme.hxx | 4 | ||||
-rw-r--r-- | sfx2/source/sidebar/Theme.cxx | 10 |
2 files changed, 6 insertions, 8 deletions
diff --git a/include/sfx2/sidebar/Theme.hxx b/include/sfx2/sidebar/Theme.hxx index b0dc72d03554..8d1a9913dab1 100644 --- a/include/sfx2/sidebar/Theme.hxx +++ b/include/sfx2/sidebar/Theme.hxx @@ -167,7 +167,9 @@ public: virtual void SAL_CALL setPropertyValue ( const ::rtl::OUString& rsPropertyName, const cssu::Any& rValue) - throw(cssu::RuntimeException, std::exception) SAL_OVERRIDE; + throw (css::beans::UnknownPropertyException, + css::uno::RuntimeException, + std::exception) SAL_OVERRIDE; virtual cssu::Any SAL_CALL getPropertyValue ( const ::rtl::OUString& rsPropertyName) throw(css::beans::UnknownPropertyException, diff --git a/sfx2/source/sidebar/Theme.cxx b/sfx2/source/sidebar/Theme.cxx index 94a2fe9fbbba..e38d3bd082c6 100644 --- a/sfx2/source/sidebar/Theme.cxx +++ b/sfx2/source/sidebar/Theme.cxx @@ -473,13 +473,12 @@ Reference<beans::XPropertySetInfo> SAL_CALL Theme::getPropertySetInfo (void) return Reference<beans::XPropertySetInfo>(this); } - - - void SAL_CALL Theme::setPropertyValue ( const ::rtl::OUString& rsPropertyName, const cssu::Any& rValue) - throw(cssu::RuntimeException, std::exception) + throw (css::beans::UnknownPropertyException, + css::uno::RuntimeException, + std::exception) { PropertyNameToIdMap::const_iterator iId (maPropertyNameToIdMap.find(rsPropertyName)); if (iId == maPropertyNameToIdMap.end()) @@ -520,9 +519,6 @@ void SAL_CALL Theme::setPropertyValue ( BroadcastPropertyChange(GetChangeListeners(eItem, false), aEvent); } - - - Any SAL_CALL Theme::getPropertyValue ( const ::rtl::OUString& rsPropertyName) throw(css::beans::UnknownPropertyException, |