From ba5a460bc15393cc64522f288b7b2b678d6fcc99 Mon Sep 17 00:00:00 2001 From: PKEuS Date: Sun, 5 Feb 2012 11:53:47 +0100 Subject: Fixed cppcheck messages about rethrowing copy of exception. --- svx/source/unodraw/unopage.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svx') diff --git a/svx/source/unodraw/unopage.cxx b/svx/source/unodraw/unopage.cxx index cb5aab34acdc..0f8197cabe9d 100644 --- a/svx/source/unodraw/unopage.cxx +++ b/svx/source/unodraw/unopage.cxx @@ -185,14 +185,14 @@ void SvxDrawPage::dispose() // notify subclasses to do their dispose disposing(); } - catch(const ::com::sun::star::uno::Exception& e) + catch(const ::com::sun::star::uno::Exception&) { // catch exception and throw again but signal that // the object was disposed. Dispose should be called // only once. mrBHelper.bDisposed = sal_True; mrBHelper.bInDispose = sal_False; - throw e; + throw; } // the values bDispose and bInDisposing must set in this order. -- cgit