diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 10:25:31 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 10:45:25 +0000 |
commit | e8443172c4ed0479acd33115ae1f0153f1e41381 (patch) | |
tree | 586e8fbee514e245c0e114a4c9d355ee5ccc745e | |
parent | db0e23abe9c285aabeed332f0c03f48988e48fd3 (diff) |
coverity#737726 Uncaught exception
Change-Id: Ia6a53ea7d073e22620b7e85eafc27f35f6291709
-rw-r--r-- | sc/inc/viewuno.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/unoobj/viewuno.cxx | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sc/inc/viewuno.hxx b/sc/inc/viewuno.hxx index 6cd68266600f..5e0691be2510 100644 --- a/sc/inc/viewuno.hxx +++ b/sc/inc/viewuno.hxx @@ -372,7 +372,8 @@ public: throw(::com::sun::star::uno::RuntimeException); virtual void SAL_CALL addRangeSelectionChangeListener( const ::com::sun::star::uno::Reference< ::com::sun::star::sheet::XRangeSelectionChangeListener >& aListener ) - throw(::com::sun::star::uno::RuntimeException); + throw (::com::sun::star::uno::RuntimeException, + std::exception); virtual void SAL_CALL removeRangeSelectionChangeListener( const ::com::sun::star::uno::Reference< ::com::sun::star::sheet::XRangeSelectionChangeListener >& aListener ) throw(::com::sun::star::uno::RuntimeException); diff --git a/sc/source/ui/unoobj/viewuno.cxx b/sc/source/ui/unoobj/viewuno.cxx index e58b7b4a8d1b..677bfdeb26b3 100644 --- a/sc/source/ui/unoobj/viewuno.cxx +++ b/sc/source/ui/unoobj/viewuno.cxx @@ -2145,8 +2145,8 @@ void SAL_CALL ScTabViewObj::removeRangeSelectionListener( } void SAL_CALL ScTabViewObj::addRangeSelectionChangeListener( - const uno::Reference<sheet::XRangeSelectionChangeListener>& xListener ) - throw(uno::RuntimeException) + const uno::Reference<sheet::XRangeSelectionChangeListener>& xListener ) + throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; uno::Reference<sheet::XRangeSelectionChangeListener>* pObj = |