From c1e25f9a173f98c82ce196b09022a8abdfbe9e53 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 12 Feb 2015 11:13:46 +0000 Subject: coverity#1269597 Uncaught exception and coverity#1269596 Uncaught exception Change-Id: I0466e66cd33dd842296131f73376bc95308254e4 --- configmgr/qa/unit/test.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'configmgr') diff --git a/configmgr/qa/unit/test.cxx b/configmgr/qa/unit/test.cxx index 5caefb07f9b8..fd004776105a 100644 --- a/configmgr/qa/unit/test.cxx +++ b/configmgr/qa/unit/test.cxx @@ -123,11 +123,11 @@ protected: private: virtual void SAL_CALL disposing(css::lang::EventObject const &) - throw (css::uno::RuntimeException) SAL_OVERRIDE; + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL propertyChange( css::beans::PropertyChangeEvent const &) - throw (css::uno::RuntimeException) SAL_OVERRIDE; + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; int count_; bool * destroyed_; @@ -160,14 +160,14 @@ RecursiveTest::~RecursiveTest() } void RecursiveTest::disposing(css::lang::EventObject const & Source) - throw (css::uno::RuntimeException) + throw (css::uno::RuntimeException, std::exception) { CPPUNIT_ASSERT(properties_.is() && Source.Source == properties_); properties_.clear(); } void RecursiveTest::propertyChange(css::beans::PropertyChangeEvent const & evt) - throw (css::uno::RuntimeException) + throw (css::uno::RuntimeException, std::exception) { CPPUNIT_ASSERT( evt.Source == properties_ && evt.PropertyName == "Label" ); if (count_ > 0) { -- cgit