summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-18 10:03:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-18 11:12:11 +0100
commitffa9a802ead3ba0c0b958d604037c7f29c806c95 (patch)
tree0e49f2efcd9a8401886387879fe6a049abebcecd /sfx2
parent3f0011fbc5a2b6df2e8e402077ccdb18b87690c3 (diff)
coverity#1028261 Uncaught exception
Change-Id: I7dd08c182657084ffa635e1960f4d0def6d7a6bb
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/sidebar/Theme.cxx10
1 files changed, 3 insertions, 7 deletions
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,