diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-29 16:06:11 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-29 16:41:36 +0000 |
commit | 04db0fdcac38b5f78a2b52396de1d5b48ea706a0 (patch) | |
tree | 97ad9ea014a02c117273b0ac9022de56db7b5f52 /sc | |
parent | 7f3c538514aeab1f628fdcfaed34c42d5740b11e (diff) |
coverity#737582 Uncaught exception
Change-Id: I5b8ce0a3fff9772b18988ef345e3de2f5b477f38
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/docuno.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/unoobj/docuno.cxx | 4 |
2 files changed, 5 insertions, 2 deletions
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<beans::PropertyValue> SAL_CALL ScModelObj::getRenderer( sal_Int32 void SAL_CALL ScModelObj::render( sal_Int32 nSelRenderer, const uno::Any& aSelection, const uno::Sequence<beans::PropertyValue>& rOptions ) - throw(lang::IllegalArgumentException, uno::RuntimeException) + throw(lang::IllegalArgumentException, + uno::RuntimeException, + std::exception) { SolarMutexGuard aGuard; if (!pDocShell) |