diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 10:00:17 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 10:45:19 +0000 |
commit | 52ea009d1289b52fcfa4e2954b11e30078d6455d (patch) | |
tree | 17912a5ed144634ffb0323dd0ec99997f088b868 /sc | |
parent | 513a947a9289290e520e31461f46ec7276be9417 (diff) |
coverity#737561 Uncaught exception
Change-Id: If1cc681decff3703bfad7649e9a253ca586232e6
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/docuno.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/unoobj/docuno.cxx | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sc/inc/docuno.hxx b/sc/inc/docuno.hxx index ff193cda24ea..7af64f17c373 100644 --- a/sc/inc/docuno.hxx +++ b/sc/inc/docuno.hxx @@ -227,7 +227,8 @@ public: throw(::com::sun::star::uno::RuntimeException); virtual void SAL_CALL consolidate( const ::com::sun::star::uno::Reference< ::com::sun::star::sheet::XConsolidationDescriptor >& xDescriptor ) - throw(::com::sun::star::uno::RuntimeException); + throw (::com::sun::star::uno::RuntimeException, + std::exception); /// XDocumentAuditing virtual void SAL_CALL refreshArrows() throw(::com::sun::star::uno::RuntimeException); diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx index 61845069c648..de3a24aae4e1 100644 --- a/sc/source/ui/unoobj/docuno.cxx +++ b/sc/source/ui/unoobj/docuno.cxx @@ -1513,8 +1513,8 @@ uno::Reference<sheet::XConsolidationDescriptor> SAL_CALL ScModelObj::createConso } void SAL_CALL ScModelObj::consolidate( - const uno::Reference<sheet::XConsolidationDescriptor>& xDescriptor ) - throw(uno::RuntimeException) + const uno::Reference<sheet::XConsolidationDescriptor>& xDescriptor ) + throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; // das koennte theoretisch ein fremdes Objekt sein, also nur das |