From ae218f4895082ea9fca8f414a332bcf47045ba8c Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 20 Oct 2014 15:24:52 +0100 Subject: tweak CaughtException Change-Id: If5aac87876b139bfb394ec124136de131c3518ae --- forms/source/component/DatabaseForm.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'forms') diff --git a/forms/source/component/DatabaseForm.cxx b/forms/source/component/DatabaseForm.cxx index 25debf710347..2744b34e967c 100644 --- a/forms/source/component/DatabaseForm.cxx +++ b/forms/source/component/DatabaseForm.cxx @@ -390,10 +390,11 @@ ODatabaseForm::ODatabaseForm( const ODatabaseForm& _cloneSource ) } catch(const Exception&) { + css::uno::Any a(cppu::getCaughtException()); throw WrappedTargetException( "Could not clone the given database form.", *const_cast< ODatabaseForm* >( &_cloneSource ), - ::cppu::getCaughtException() + a ); } } -- cgit