diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-23 17:20:06 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-23 17:23:21 +0000 |
commit | a5c401df84df2be26a6a2351a7d5c9d65524d8a9 (patch) | |
tree | 4acc96325373675cfa8af9c3da8f5a7c50ba5ae7 | |
parent | 98a3def98cd6e43dcce51de9694dcc895ad7a36a (diff) |
coverity#1158408 Uncaught exception
Change-Id: Ie0a3cfeedeb386e72749997e6a4bdf8b6c515be2
-rw-r--r-- | sc/inc/viewuno.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/unoobj/viewuno.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/viewuno.hxx b/sc/inc/viewuno.hxx index eddaed3731c7..fc97d4b6a88d 100644 --- a/sc/inc/viewuno.hxx +++ b/sc/inc/viewuno.hxx @@ -80,7 +80,7 @@ public: // XViewPane virtual sal_Int32 SAL_CALL getFirstVisibleColumn() throw(::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setFirstVisibleColumn( sal_Int32 nFirstVisibleColumn ) - throw(::com::sun::star::uno::RuntimeException); + throw(::com::sun::star::uno::RuntimeException, std::exception); virtual sal_Int32 SAL_CALL getFirstVisibleRow() throw(::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setFirstVisibleRow( sal_Int32 nFirstVisibleRow ) throw(::com::sun::star::uno::RuntimeException); diff --git a/sc/source/ui/unoobj/viewuno.cxx b/sc/source/ui/unoobj/viewuno.cxx index 3095a78d994e..369cb4e9cf55 100644 --- a/sc/source/ui/unoobj/viewuno.cxx +++ b/sc/source/ui/unoobj/viewuno.cxx @@ -206,8 +206,8 @@ sal_Int32 SAL_CALL ScViewPaneBase::getFirstVisibleColumn() throw(uno::RuntimeExc return 0; } -void SAL_CALL ScViewPaneBase::setFirstVisibleColumn( sal_Int32 nFirstVisibleColumn ) - throw(uno::RuntimeException) +void SAL_CALL ScViewPaneBase::setFirstVisibleColumn(sal_Int32 nFirstVisibleColumn) + throw(uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; if (pViewShell) |