summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-24 13:42:28 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-24 14:14:24 +0000
commit1067084f15524e918231e039d44ae7157ac7e095 (patch)
tree7cd9b1477d66ec44d896b3db4ac8d294b2e03007 /sc
parentf3deb8c27575228f1041feb8154369e6ea451088 (diff)
coverity#737536 Uncaught exception
Change-Id: Ia59a64934b65dd926c4f95953bc1ddaf00d6f8cf
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/dapiuno.hxx3
-rw-r--r--sc/source/ui/unoobj/dapiuno.cxx3
2 files changed, 4 insertions, 2 deletions
diff --git a/sc/inc/dapiuno.hxx b/sc/inc/dapiuno.hxx
index a52497bbd72f..11d62458108f 100644
--- a/sc/inc/dapiuno.hxx
+++ b/sc/inc/dapiuno.hxx
@@ -249,7 +249,8 @@ public:
// XDataPilotDataLayoutFieldSupplier
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sheet::XDataPilotField >
SAL_CALL getDataLayoutField()
- throw(::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException,
+ std::exception);
// XUnoTunnel
virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence<
diff --git a/sc/source/ui/unoobj/dapiuno.cxx b/sc/source/ui/unoobj/dapiuno.cxx
index 9e1c83398d42..f5dea823a121 100644
--- a/sc/source/ui/unoobj/dapiuno.cxx
+++ b/sc/source/ui/unoobj/dapiuno.cxx
@@ -1052,7 +1052,8 @@ void SAL_CALL ScDataPilotDescriptorBase::removeVetoableChangeListener(
// XDataPilotDataLayoutFieldSupplier
-Reference< XDataPilotField > SAL_CALL ScDataPilotDescriptorBase::getDataLayoutField() throw(RuntimeException)
+Reference< XDataPilotField > SAL_CALL ScDataPilotDescriptorBase::getDataLayoutField()
+ throw (RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
if( ScDPObject* pDPObject = GetDPObject() )