summaryrefslogtreecommitdiff
path: root/configmgr/qa/unit
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-02-12 11:13:46 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-02-12 11:27:57 +0000
commitc1e25f9a173f98c82ce196b09022a8abdfbe9e53 (patch)
tree780a023f8ac4c414fdb3ddeab532248118502894 /configmgr/qa/unit
parentec3c964c6674d2966f61e9ac615c08a7ef4b512e (diff)
coverity#1269597 Uncaught exception
and coverity#1269596 Uncaught exception Change-Id: I0466e66cd33dd842296131f73376bc95308254e4
Diffstat (limited to 'configmgr/qa/unit')
-rw-r--r--configmgr/qa/unit/test.cxx8
1 files changed, 4 insertions, 4 deletions
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) {