diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-13 16:42:12 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-13 21:04:50 +0000 |
commit | 70d10669b835b15e20af9fab73451a4eb24758a8 (patch) | |
tree | 80bd5644832625321aab4ee4f5c6228e17abf7e3 /sd/source | |
parent | 537deaeac2c707040539f4541b11d92937b3af28 (diff) |
coverity#737837 Uncaught exception
Change-Id: Ia71f03515ae209619b73aa617c4649cc4de4dfa6
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/unoidl/unopage.cxx | 4 | ||||
-rw-r--r-- | sd/source/ui/unoidl/unopage.hxx | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sd/source/ui/unoidl/unopage.cxx b/sd/source/ui/unoidl/unopage.cxx index 244bbf4384cf..bde3843b0e69 100644 --- a/sd/source/ui/unoidl/unopage.cxx +++ b/sd/source/ui/unoidl/unopage.cxx @@ -3093,7 +3093,9 @@ void SAL_CALL SdMasterPage::add( const Reference< drawing::XShape >& xShape ) th SdGenericDrawPage::add( xShape ); } -void SAL_CALL SdMasterPage::remove( const Reference< drawing::XShape >& xShape ) throw(uno::RuntimeException) +void SAL_CALL SdMasterPage::remove( const Reference< drawing::XShape >& xShape ) + throw (uno::RuntimeException, + std::exception) { ::SolarMutexGuard aGuard; diff --git a/sd/source/ui/unoidl/unopage.hxx b/sd/source/ui/unoidl/unopage.hxx index 967c0f748a13..e7ce2b1adf96 100644 --- a/sd/source/ui/unoidl/unopage.hxx +++ b/sd/source/ui/unoidl/unopage.hxx @@ -266,7 +266,9 @@ public: // XShapes virtual void SAL_CALL add( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& xShape ) throw(::com::sun::star::uno::RuntimeException); - virtual void SAL_CALL remove( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& xShape ) throw(::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL remove( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& xShape ) + throw (::com::sun::star::uno::RuntimeException, + std::exception); }; |