coverity#1269597 Uncaught exception

and

coverity#1269596 Uncaught exception

Change-Id: I0466e66cd33dd842296131f73376bc95308254e4
This commit is contained in:
Caolán McNamara
2015-02-12 11:13:46 +00:00
parent ec3c964c66
commit c1e25f9a17

View File

@@ -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) {