Kaydet (Commit) c1e25f9a authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1269597 Uncaught exception

and

coverity#1269596 Uncaught exception

Change-Id: I0466e66cd33dd842296131f73376bc95308254e4
üst ec3c964c
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment