summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-27 11:51:48 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-27 12:13:16 +0000
commitdc752ba6e447fd5fa93ca4e94fab9606a229a271 (patch)
tree75396bd583232494b9b069f70b5c2adc81580e9b
parent1f078fcaddd45bb074e4d0a4933db01f6e8b623e (diff)
coverity#1158327 Uncaught exception
Change-Id: I90d8361712e6d403444a53478e2a8e874c82e02e
-rw-r--r--sc/inc/dapiuno.hxx3
-rw-r--r--sc/source/ui/unoobj/dapiuno.cxx6
2 files changed, 5 insertions, 4 deletions
diff --git a/sc/inc/dapiuno.hxx b/sc/inc/dapiuno.hxx
index 8fd2a23aa838..590f60ffab88 100644
--- a/sc/inc/dapiuno.hxx
+++ b/sc/inc/dapiuno.hxx
@@ -111,7 +111,8 @@ public:
const ::com::sun::star::table::CellAddress& aOutputAddress,
const ::com::sun::star::uno::Reference<
::com::sun::star::sheet::XDataPilotDescriptor >& xDescriptor )
- throw(::com::sun::star::uno::RuntimeException);
+ throw(::com::sun::star::uno::RuntimeException,
+ std::exception);
virtual void SAL_CALL removeByName( const OUString& aName )
throw(::com::sun::star::uno::RuntimeException);
diff --git a/sc/source/ui/unoobj/dapiuno.cxx b/sc/source/ui/unoobj/dapiuno.cxx
index 8913cef868b4..3eb8198a8210 100644
--- a/sc/source/ui/unoobj/dapiuno.cxx
+++ b/sc/source/ui/unoobj/dapiuno.cxx
@@ -407,9 +407,9 @@ static OUString lcl_GetOriginalName( const Reference< XNamed > xDim )
}
void SAL_CALL ScDataPilotTablesObj::insertNewByName( const OUString& aNewName,
- const CellAddress& aOutputAddress,
- const Reference<XDataPilotDescriptor>& xDescriptor )
- throw(RuntimeException)
+ const CellAddress& aOutputAddress,
+ const Reference<XDataPilotDescriptor>& xDescriptor )
+ throw(RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
if (!xDescriptor.is()) return;