summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--forms/source/component/DatabaseForm.cxx3
1 files changed, 2 insertions, 1 deletions
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
);
}
}