summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;