summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-07-13 20:24:29 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-07-14 09:21:00 +0100
commit594a5e20f751e1fb8f9b4f3fb53851c3dfb671e6 (patch)
tree8946043068d1ba76e1c054410db148792ee97db2 /framework
parenta5db1906b41cff4acebfa6c382f4096298883a4c (diff)
coverity#1224998 Uncaught exception
Change-Id: I96db9ab47b9494a1d71259e93ad393bd70c39d97
Diffstat (limited to 'framework')
-rw-r--r--framework/inc/services/desktop.hxx2
-rw-r--r--framework/source/services/desktop.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/inc/services/desktop.hxx b/framework/inc/services/desktop.hxx
index 57e0bdb0f2bc..19a6df5800f9 100644
--- a/framework/inc/services/desktop.hxx
+++ b/framework/inc/services/desktop.hxx
@@ -309,7 +309,7 @@ class Desktop : private cppu::BaseMutex,
virtual sal_Bool SAL_CALL convertFastPropertyValue ( css::uno::Any& aConvertedValue ,
css::uno::Any& aOldValue ,
sal_Int32 nHandle ,
- const css::uno::Any& aValue ) throw( css::lang::IllegalArgumentException ) SAL_OVERRIDE;
+ const css::uno::Any& aValue ) throw( css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle ,
const css::uno::Any& aValue ) throw( css::uno::Exception, std::exception ) SAL_OVERRIDE;
using cppu::OPropertySetHelper::getFastPropertyValue;
diff --git a/framework/source/services/desktop.cxx b/framework/source/services/desktop.cxx
index a62c649414f9..10bb545f1464 100644
--- a/framework/source/services/desktop.cxx
+++ b/framework/source/services/desktop.cxx
@@ -1316,7 +1316,7 @@ OUString SAL_CALL Desktop::getUntitledPrefix()
sal_Bool SAL_CALL Desktop::convertFastPropertyValue( css::uno::Any& aConvertedValue ,
css::uno::Any& aOldValue ,
sal_Int32 nHandle ,
- const css::uno::Any& aValue ) throw( css::lang::IllegalArgumentException )
+ const css::uno::Any& aValue ) throw( css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception )
{
/* UNSAFE AREA --------------------------------------------------------------------------------------------- */
// Register transaction and reject wrong calls.