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

coverity#706537 Uncaught exception

Change-Id: I687948ef04e4ffdce51a7ac20854d6ebe96f1f25
üst 6a0985ec
......@@ -388,10 +388,14 @@ ODatabaseForm::ODatabaseForm( const ODatabaseForm& _cloneSource )
setPropertyValue( pSourceProperty->Name, xSourceProps->getPropertyValue( pSourceProperty->Name ) );
}
}
catch(const RuntimeException&)
{
throw;
}
catch(const Exception&)
{
css::uno::Any a(cppu::getCaughtException());
throw WrappedTargetException(
throw WrappedTargetRuntimeException(
"Could not clone the given database form.",
*const_cast< ODatabaseForm* >( &_cloneSource ),
a
......@@ -401,7 +405,6 @@ ODatabaseForm::ODatabaseForm( const ODatabaseForm& _cloneSource )
osl_atomic_decrement( &m_refCount );
}
void ODatabaseForm::impl_construct()
{
// aggregate a row set
......
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