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

coverity#706511 Uncaught exception

Change-Id: I2822c35e60a93b86bdcb56f1e4782aa46e1ce8e0
üst 3140af0a
......@@ -383,7 +383,7 @@ uno::Reference< util::XCloseable > SAL_CALL OleEmbeddedObject::getComponent()
if ( m_nObjectState == -1 ) // || m_nObjectState == embed::EmbedStates::LOADED )
{
// the object is still not running
throw embed::WrongStateException( OUString( "The object is not loaded!\n" ),
throw uno::RuntimeException( OUString( "The object is not loaded!\n" ),
uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ) );
}
......
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