coverity#707098 Uncaught exception

Change-Id: I88e0ddd6de87bf8264e06ee34d6c144f16a7aa60
This commit is contained in:
Caolán McNamara
2014-04-25 13:03:52 +01:00
parent d92829044b
commit 1a88414f52
2 changed files with 4 additions and 12 deletions

View File

@@ -625,13 +625,8 @@ void SAL_CALL ConfigurationController::initialize (const Sequence<Any>& aArgumen
} }
} }
void ConfigurationController::ThrowIfDisposed () const
throw (css::lang::DisposedException, css::uno::RuntimeException)
void ConfigurationController::ThrowIfDisposed (void) const
throw (::com::sun::star::lang::DisposedException)
{ {
if (mbIsDisposed) if (mbIsDisposed)
{ {
@@ -647,9 +642,6 @@ void ConfigurationController::ThrowIfDisposed (void) const
} }
} }
//===== ConfigurationController::Implementation =============================== //===== ConfigurationController::Implementation ===============================
ConfigurationController::Implementation::Implementation ( ConfigurationController::Implementation::Implementation (

View File

@@ -208,8 +208,8 @@ private:
/** When the called object has already been disposed this method throws /** When the called object has already been disposed this method throws
an exception and does not return. an exception and does not return.
*/ */
void ThrowIfDisposed (void) const void ThrowIfDisposed () const
throw (css::lang::DisposedException); throw (css::lang::DisposedException, css::uno::RuntimeException);
}; };
} } // end of namespace sd::framework } } // end of namespace sd::framework