Kaydet (Commit) ae218f48 authored tarafından Caolán McNamara's avatar Caolán McNamara

tweak CaughtException

Change-Id: If5aac87876b139bfb394ec124136de131c3518ae
üst a4e219ee
...@@ -390,10 +390,11 @@ ODatabaseForm::ODatabaseForm( const ODatabaseForm& _cloneSource ) ...@@ -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
); );
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment