From ffa9a802ead3ba0c0b958d604037c7f29c806c95 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 18 Jun 2014 10:03:26 +0100 Subject: coverity#1028261 Uncaught exception Change-Id: I7dd08c182657084ffa635e1960f4d0def6d7a6bb --- sfx2/source/sidebar/Theme.cxx | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'sfx2') 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 SAL_CALL Theme::getPropertySetInfo (void) return Reference(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, -- cgit v1.2.3