tweak CaughtException

Change-Id: If5aac87876b139bfb394ec124136de131c3518ae
This commit is contained in:
Caolán McNamara 2014-10-20 15:24:52 +01:00
parent a4e219eee6
commit ae218f4895

View File

@ -390,10 +390,11 @@ ODatabaseForm::ODatabaseForm( const ODatabaseForm& _cloneSource )
} }
catch(const Exception&) catch(const Exception&)
{ {
css::uno::Any a(cppu::getCaughtException());
throw WrappedTargetException( throw WrappedTargetException(
"Could not clone the given database form.", "Could not clone the given database form.",
*const_cast< ODatabaseForm* >( &_cloneSource ), *const_cast< ODatabaseForm* >( &_cloneSource ),
::cppu::getCaughtException() a
); );
} }
} }