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