summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-25 15:58:00 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-25 16:12:23 +0000
commit011df3eeee8bb218af4a6e3b1df40a7f03202fbc (patch)
tree4d76acfadc811fcb436691cf85bcefced13a5f5c
parent6fbe00f9b6ae8211bc6f2a0e78120548d7b38432 (diff)
coverity#983796 Uncaught exception
Change-Id: Idba161eb74fb9b474b2f41fbc0fdf0eef55b7599
-rw-r--r--sd/source/ui/unoidl/unomodule.cxx3
-rw-r--r--sd/source/ui/unoidl/unomodule.hxx3
2 files changed, 4 insertions, 2 deletions
diff --git a/sd/source/ui/unoidl/unomodule.cxx b/sd/source/ui/unoidl/unomodule.cxx
index eef013d3a160..abf56f2faa27 100644
--- a/sd/source/ui/unoidl/unomodule.cxx
+++ b/sd/source/ui/unoidl/unomodule.cxx
@@ -114,7 +114,8 @@ uno::Sequence< uno::Reference< frame::XDispatch > > SAL_CALL SdUnoModule::queryD
}
// XDispatchProvider
-uno::Reference< frame::XDispatch > SAL_CALL SdUnoModule::queryDispatch( const util::URL& aURL, const OUString&, sal_Int32 ) throw( uno::RuntimeException )
+uno::Reference< frame::XDispatch > SAL_CALL SdUnoModule::queryDispatch( const util::URL& aURL, const OUString&, sal_Int32 )
+ throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
SdDLL::Init();
diff --git a/sd/source/ui/unoidl/unomodule.hxx b/sd/source/ui/unoidl/unomodule.hxx
index 01a28af2abde..123656b6be98 100644
--- a/sd/source/ui/unoidl/unomodule.hxx
+++ b/sd/source/ui/unoidl/unomodule.hxx
@@ -70,7 +70,8 @@ public:
virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL queryDispatches( const css::uno::Sequence< css::frame::DispatchDescriptor >& seqDescriptor ) throw( css::uno::RuntimeException ) ;
virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL queryDispatch( const css::util::URL & aURL ,
const OUString & sTargetFrameName,
- sal_Int32 eSearchFlags ) throw( css::uno::RuntimeException ) ;
+ sal_Int32 eSearchFlags )
+ throw (css::uno::RuntimeException, std::exception);
// XServiceInfo
virtual OUString SAL_CALL getImplementationName( ) throw(css::uno::RuntimeException);
virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw(css::uno::RuntimeException);