diff --git a/sd/source/ui/framework/configuration/ConfigurationController.cxx b/sd/source/ui/framework/configuration/ConfigurationController.cxx index 957f7ef05f56..39ec23ee024b 100644 --- a/sd/source/ui/framework/configuration/ConfigurationController.cxx +++ b/sd/source/ui/framework/configuration/ConfigurationController.cxx @@ -625,13 +625,8 @@ void SAL_CALL ConfigurationController::initialize (const Sequence& aArgumen } } - - - - - -void ConfigurationController::ThrowIfDisposed (void) const - throw (::com::sun::star::lang::DisposedException) +void ConfigurationController::ThrowIfDisposed () const + throw (css::lang::DisposedException, css::uno::RuntimeException) { if (mbIsDisposed) { @@ -647,9 +642,6 @@ void ConfigurationController::ThrowIfDisposed (void) const } } - - - //===== ConfigurationController::Implementation =============================== ConfigurationController::Implementation::Implementation ( diff --git a/sd/source/ui/inc/framework/ConfigurationController.hxx b/sd/source/ui/inc/framework/ConfigurationController.hxx index 1175631f0dac..941047e5e6f8 100644 --- a/sd/source/ui/inc/framework/ConfigurationController.hxx +++ b/sd/source/ui/inc/framework/ConfigurationController.hxx @@ -208,8 +208,8 @@ private: /** When the called object has already been disposed this method throws an exception and does not return. */ - void ThrowIfDisposed (void) const - throw (css::lang::DisposedException); + void ThrowIfDisposed () const + throw (css::lang::DisposedException, css::uno::RuntimeException); }; } } // end of namespace sd::framework