summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-29 16:15:18 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-29 16:41:37 +0000
commit87002bb8d42122500ac4f3fe2f01fa23419938d0 (patch)
tree685495b53a6a6ff5bcdf611ca70f15b9d32ec7d8 /sc
parent77fbfa6c4454e20752a2f9345f73d5aa22eb54b6 (diff)
coverity#737429 Uncaught exception
Change-Id: I7188ded009509b933958e4ada4d5f76d9ef1d742
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/cellsuno.hxx3
-rw-r--r--sc/source/ui/unoobj/cellsuno.cxx3
2 files changed, 4 insertions, 2 deletions
diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx
index 836237ec50ed..2fd4c3e71485 100644
--- a/sc/inc/cellsuno.hxx
+++ b/sc/inc/cellsuno.hxx
@@ -464,7 +464,8 @@ public:
createReplaceDescriptor() throw(::com::sun::star::uno::RuntimeException);
virtual sal_Int32 SAL_CALL replaceAll( const ::com::sun::star::uno::Reference<
::com::sun::star::util::XSearchDescriptor >& xDesc )
- throw(::com::sun::star::uno::RuntimeException);
+ throw(::com::sun::star::uno::RuntimeException,
+ std::exception);
// XModifyBroadcaster
virtual void SAL_CALL addModifyListener( const ::com::sun::star::uno::Reference<
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index 7daa1e83f8b0..3bc0f8b98c89 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -4031,7 +4031,8 @@ uno::Reference<util::XReplaceDescriptor> SAL_CALL ScCellRangesBase::createReplac
}
sal_Int32 SAL_CALL ScCellRangesBase::replaceAll( const uno::Reference<util::XSearchDescriptor>& xDesc )
- throw(uno::RuntimeException)
+ throw(uno::RuntimeException,
+ std::exception)
{
SolarMutexGuard aGuard;
sal_Int32 nReplaced = 0;