summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-26 09:30:01 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-26 09:56:30 +0100
commit5d5564fa7ac77303e6e6145e488bc28bc675a860 (patch)
treeed4475893ddf6471967b5db25eedb42fa3c39f7f /framework
parentb23e979157a1f690b84d110e082af3a01f102d55 (diff)
coverity#1374282 Uncaught exception
Change-Id: I1b31825ec27d2395ca030ca79b6c932b7814d901
Diffstat (limited to 'framework')
-rw-r--r--framework/inc/classes/actiontriggerseparatorpropertyset.hxx4
-rw-r--r--framework/source/fwe/classes/actiontriggerseparatorpropertyset.cxx2
2 files changed, 4 insertions, 2 deletions
diff --git a/framework/inc/classes/actiontriggerseparatorpropertyset.hxx b/framework/inc/classes/actiontriggerseparatorpropertyset.hxx
index 6addfcd0dfd0..6e389c99e6fc 100644
--- a/framework/inc/classes/actiontriggerseparatorpropertyset.hxx
+++ b/framework/inc/classes/actiontriggerseparatorpropertyset.hxx
@@ -90,7 +90,9 @@ class ActionTriggerSeparatorPropertySet : private cppu::BaseMutex,
bool impl_tryToChangeProperty( sal_Int16 aCurrentValue ,
const css::uno::Any& aNewValue ,
css::uno::Any& aOldValue ,
- css::uno::Any& aConvertedValue ) throw( css::lang::IllegalArgumentException );
+ css::uno::Any& aConvertedValue ) throw( css::lang::IllegalArgumentException,
+ css::uno::RuntimeException,
+ std::exception );
// members
diff --git a/framework/source/fwe/classes/actiontriggerseparatorpropertyset.cxx b/framework/source/fwe/classes/actiontriggerseparatorpropertyset.cxx
index 63c3ed4bb3c3..49720d60bd4a 100644
--- a/framework/source/fwe/classes/actiontriggerseparatorpropertyset.cxx
+++ b/framework/source/fwe/classes/actiontriggerseparatorpropertyset.cxx
@@ -267,7 +267,7 @@ bool ActionTriggerSeparatorPropertySet::impl_tryToChangeProperty(
const Any& aNewValue ,
Any& aOldValue ,
Any& aConvertedValue )
-throw( IllegalArgumentException )
+throw( IllegalArgumentException, RuntimeException, std::exception )
{
// Set default return value if method failed.
bool bReturn = false;