diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-29 11:16:42 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-29 13:23:53 +0000 |
commit | 0e51bb8ca0fb362a8c39282168a453c438ba8772 (patch) | |
tree | b12e674a60b0830b98696643e8af4d82088bbaa1 | |
parent | 50f2c8a442d2e1bb769abd5a7edaf357ba9e20b4 (diff) |
coverity#1158310 Uncaught exception
Change-Id: I38fcbe9aa35283b9287962a2974365ceb29df37c
-rw-r--r-- | sc/inc/viewuno.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/unoobj/viewuno.cxx | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sc/inc/viewuno.hxx b/sc/inc/viewuno.hxx index 6b976268aee5..c6c676dbd148 100644 --- a/sc/inc/viewuno.hxx +++ b/sc/inc/viewuno.hxx @@ -401,7 +401,8 @@ public: // XSelectedSheetsSupplier virtual ::com::sun::star::uno::Sequence<sal_Int32> SAL_CALL getSelectedSheets() - throw(::com::sun::star::uno::RuntimeException); + throw(::com::sun::star::uno::RuntimeException, + std::exception); }; class ScPreviewObj : public SfxBaseController, diff --git a/sc/source/ui/unoobj/viewuno.cxx b/sc/source/ui/unoobj/viewuno.cxx index ca51e4f45538..b611a3d93019 100644 --- a/sc/source/ui/unoobj/viewuno.cxx +++ b/sc/source/ui/unoobj/viewuno.cxx @@ -2330,7 +2330,7 @@ uno::Sequence<sal_Int32> toSequence(const ScMarkData::MarkedTabsType& rSelected) } uno::Sequence<sal_Int32> ScTabViewObj::getSelectedSheets() - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { ScTabViewShell* pViewSh = GetViewShell(); if (!pViewSh) |