summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-20 15:24:52 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-20 16:17:58 +0100
commitae218f4895082ea9fca8f414a332bcf47045ba8c (patch)
treed55422c46f83b78990da6ee61b4f748a4cd9df27 /forms
parenta4e219eee6314f26b7d9058e714c62facc2bc08c (diff)
tweak CaughtException
Change-Id: If5aac87876b139bfb394ec124136de131c3518ae
Diffstat (limited to 'forms')
-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
);
}
}