diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-24 13:04:06 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-24 14:01:58 +0000 |
commit | 8be64b9ffc76b5ee3bfff0716e2d7ae3e87e24af (patch) | |
tree | 080bc653150d6e22f5c0608481f696dd9c83ec89 /sc/source | |
parent | 9a5f95bd64d6920c55055506dd21824772d1d31f (diff) |
coverity#1158386 Uncaught exception
Change-Id: I51a5ef561e3a9f3f53567cb781a294a14712f97b
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/vba/vbawindow.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/vba/vbawindow.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/vba/vbawindow.cxx b/sc/source/ui/vba/vbawindow.cxx index 544e14971561..be4792b0c4bb 100644 --- a/sc/source/ui/vba/vbawindow.cxx +++ b/sc/source/ui/vba/vbawindow.cxx @@ -764,8 +764,8 @@ ScVbaWindow::getZoom() throw (uno::RuntimeException) return uno::Any(); } -void SAL_CALL -ScVbaWindow::setZoom( const uno::Any& _zoom ) throw (uno::RuntimeException) +void SAL_CALL ScVbaWindow::setZoom(const uno::Any& _zoom) + throw (uno::RuntimeException, std::exception) { sal_Int16 nZoom = 100; _zoom >>= nZoom; diff --git a/sc/source/ui/vba/vbawindow.hxx b/sc/source/ui/vba/vbawindow.hxx index a80879144860..f1c7c0e71455 100644 --- a/sc/source/ui/vba/vbawindow.hxx +++ b/sc/source/ui/vba/vbawindow.hxx @@ -102,7 +102,7 @@ public: virtual css::uno::Any SAL_CALL getWindowState() throw (css::uno::RuntimeException); virtual void SAL_CALL setWindowState( const css::uno::Any& _windowstate ) throw (css::uno::RuntimeException); virtual css::uno::Any SAL_CALL getZoom() throw (css::uno::RuntimeException); - virtual void SAL_CALL setZoom( const css::uno::Any& _zoom ) throw (css::uno::RuntimeException); + virtual void SAL_CALL setZoom(const css::uno::Any& _zoom) throw (css::uno::RuntimeException, std::exception); virtual double SAL_CALL getTabRatio() throw (css::uno::RuntimeException) ; virtual void SAL_CALL setTabRatio( double _tabratio ) throw (css::uno::RuntimeException) ; |