diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-29 15:57:27 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-29 16:41:34 +0000 |
commit | 618e93c4864d93d10c388996ccf2276b5f5f9aba (patch) | |
tree | 5f6a189c6a11375e3f1563f5cef0aac56a272c7d | |
parent | 585000f4710379cf9d709ea0f1a23d7d029a22fb (diff) |
coverity#1000850 Uncaught exception
Change-Id: Ief1b4abb114a29526bd9b721d2d760e7c7cddd90
-rw-r--r-- | sc/source/ui/vba/vbaapplication.cxx | 3 | ||||
-rw-r--r-- | sc/source/ui/vba/vbaapplication.hxx | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbaapplication.cxx b/sc/source/ui/vba/vbaapplication.cxx index b4f5b8d794bf..868f48633c7e 100644 --- a/sc/source/ui/vba/vbaapplication.cxx +++ b/sc/source/ui/vba/vbaapplication.cxx @@ -1268,7 +1268,8 @@ ScVbaApplication::getDisplayFormulaBar() } void SAL_CALL -ScVbaApplication::setDisplayFormulaBar( ::sal_Bool _displayformulabar ) throw ( css::uno::RuntimeException ) +ScVbaApplication::setDisplayFormulaBar( ::sal_Bool _displayformulabar ) + throw(css::uno::RuntimeException, std::exception) { ScTabViewShell* pViewShell = excel::getCurrentBestViewShell( mxContext ); if ( pViewShell && ( _displayformulabar != getDisplayFormulaBar() ) ) diff --git a/sc/source/ui/vba/vbaapplication.hxx b/sc/source/ui/vba/vbaapplication.hxx index 220d08d6d501..17743b419e9c 100644 --- a/sc/source/ui/vba/vbaapplication.hxx +++ b/sc/source/ui/vba/vbaapplication.hxx @@ -82,7 +82,8 @@ public: virtual css::uno::Reference< ov::excel::XWorksheet > SAL_CALL getActiveSheet() throw (css::uno::RuntimeException); virtual ::sal_Bool SAL_CALL getDisplayFormulaBar() throw (css::uno::RuntimeException, std::exception); - virtual void SAL_CALL setDisplayFormulaBar( ::sal_Bool _displayformulabar ) throw ( css::uno::RuntimeException ); + virtual void SAL_CALL setDisplayFormulaBar(::sal_Bool _displayformulabar) + throw (css::uno::RuntimeException, std::exception); virtual css::uno::Reference< ov::XAssistant > SAL_CALL getAssistant() throw (css::uno::RuntimeException); virtual css::uno::Reference< ov::excel::XWorkbook > SAL_CALL getThisWorkbook() throw (css::uno::RuntimeException); |