diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-28 09:55:50 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-28 11:29:21 +0000 |
commit | 858dc2a4e260ddf21bae7e5325bfe193cab70455 (patch) | |
tree | fddc92743548ea8c756cc59b3a9d9e57ed8f23a2 /sc | |
parent | 6ea531369227b5014edc8cbaab0a57dd15fa0bbd (diff) |
coverity#1158307 Uncaught exception
Change-Id: Iff8290c4b443a2520242328c616d3bc99ed865ff
Diffstat (limited to 'sc')
-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 aa4fe7431399..b4f5b8d794bf 100644 --- a/sc/source/ui/vba/vbaapplication.cxx +++ b/sc/source/ui/vba/vbaapplication.cxx @@ -1248,7 +1248,8 @@ ScVbaApplication::Volatile( const uno::Any& aVolatile ) throw ( uno::RuntimeExc } ::sal_Bool SAL_CALL -ScVbaApplication::getDisplayFormulaBar() throw ( css::uno::RuntimeException ) +ScVbaApplication::getDisplayFormulaBar() + throw (css::uno::RuntimeException, std::exception) { sal_Bool bRes = false; ScTabViewShell* pViewShell = excel::getCurrentBestViewShell( mxContext ); diff --git a/sc/source/ui/vba/vbaapplication.hxx b/sc/source/ui/vba/vbaapplication.hxx index 105b2010c70f..220d08d6d501 100644 --- a/sc/source/ui/vba/vbaapplication.hxx +++ b/sc/source/ui/vba/vbaapplication.hxx @@ -80,7 +80,8 @@ public: virtual css::uno::Reference< ov::excel::XRange > SAL_CALL getActiveCell() throw ( css::uno::RuntimeException); virtual css::uno::Reference< ov::excel::XWindow > SAL_CALL getActiveWindow() throw (css::uno::RuntimeException); virtual css::uno::Reference< ov::excel::XWorksheet > SAL_CALL getActiveSheet() throw (css::uno::RuntimeException); - virtual ::sal_Bool SAL_CALL getDisplayFormulaBar() 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 css::uno::Reference< ov::XAssistant > SAL_CALL getAssistant() throw (css::uno::RuntimeException); |