diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-24 13:16:42 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-24 13:17:36 +0000 |
commit | 93f3f72d18e551c8edd6a010cb78d9cbe404f8ef (patch) | |
tree | 4c7d546678eec9e5210c6fa4bfd4a468bac87efc | |
parent | 1a48456f8beca6cb0606de75bb0c95f5ae9bc160 (diff) |
coverity#737499 Uncaught exception
Change-Id: If4599fa76914b472ee6734f48941898f420519c3
-rw-r--r-- | sc/inc/dapiuno.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/unoobj/dapiuno.cxx | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sc/inc/dapiuno.hxx b/sc/inc/dapiuno.hxx index ca6b8cd0f344..ec96ae745699 100644 --- a/sc/inc/dapiuno.hxx +++ b/sc/inc/dapiuno.hxx @@ -595,7 +595,8 @@ public: virtual com::sun::star::uno::Reference < com::sun::star::sheet::XDataPilotField > SAL_CALL createDateGroup(const com::sun::star::sheet::DataPilotFieldGroupInfo& rInfo) throw (::com::sun::star::uno::RuntimeException, - ::com::sun::star::lang::IllegalArgumentException); + ::com::sun::star::lang::IllegalArgumentException, + std::exception); // XServiceInfo virtual OUString SAL_CALL getImplementationName() diff --git a/sc/source/ui/unoobj/dapiuno.cxx b/sc/source/ui/unoobj/dapiuno.cxx index 38fca5794bc6..36fba0c7ab45 100644 --- a/sc/source/ui/unoobj/dapiuno.cxx +++ b/sc/source/ui/unoobj/dapiuno.cxx @@ -2709,7 +2709,8 @@ Reference< XDataPilotField > SAL_CALL ScDataPilotFieldObj::createNameGroup( cons } Reference < XDataPilotField > SAL_CALL ScDataPilotFieldObj::createDateGroup( const DataPilotFieldGroupInfo& rInfo ) - throw (RuntimeException, IllegalArgumentException) + throw (RuntimeException, IllegalArgumentException, + std::exception) { SolarMutexGuard aGuard; using namespace ::com::sun::star::sheet::DataPilotFieldGroupBy; |