From 04db0fdcac38b5f78a2b52396de1d5b48ea706a0 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 29 Jan 2014 16:06:11 +0000 Subject: coverity#737582 Uncaught exception Change-Id: I5b8ce0a3fff9772b18988ef345e3de2f5b477f38 --- sc/inc/docuno.hxx | 3 ++- sc/source/ui/unoobj/docuno.cxx | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'sc') diff --git a/sc/inc/docuno.hxx b/sc/inc/docuno.hxx index 4e7577d5686e..a5d7f7275d9e 100644 --- a/sc/inc/docuno.hxx +++ b/sc/inc/docuno.hxx @@ -175,7 +175,8 @@ public: const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& xOptions ) throw (::com::sun::star::lang::IllegalArgumentException, - ::com::sun::star::uno::RuntimeException); + ::com::sun::star::uno::RuntimeException, + std::exception); /// XLinkTargetSupplier virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > SAL_CALL diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx index 309e4ceb52bf..75c5fa687a48 100644 --- a/sc/source/ui/unoobj/docuno.cxx +++ b/sc/source/ui/unoobj/docuno.cxx @@ -1093,7 +1093,9 @@ uno::Sequence SAL_CALL ScModelObj::getRenderer( sal_Int32 void SAL_CALL ScModelObj::render( sal_Int32 nSelRenderer, const uno::Any& aSelection, const uno::Sequence& rOptions ) - throw(lang::IllegalArgumentException, uno::RuntimeException) + throw(lang::IllegalArgumentException, + uno::RuntimeException, + std::exception) { SolarMutexGuard aGuard; if (!pDocShell) -- cgit