summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-25 13:03:52 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-25 20:19:11 +0100
commit1a88414f52e0f16aad1f992c7e6d6590cffdc462 (patch)
tree7c405cc38c2265ac688676195a05c09d81f93893
parentd92829044bdae286fdf26c46bbc28e88574768de (diff)
coverity#707098 Uncaught exception
Change-Id: I88e0ddd6de87bf8264e06ee34d6c144f16a7aa60
-rw-r--r--sd/source/ui/framework/configuration/ConfigurationController.cxx12
-rw-r--r--sd/source/ui/inc/framework/ConfigurationController.hxx4
2 files changed, 4 insertions, 12 deletions
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<Any>& 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