diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-04 20:56:23 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-04 20:58:31 +0100 |
commit | d4e4bcb2df3f12f7ee19c084a5deab6691f290f2 (patch) | |
tree | 31884c302738a70d4dbd9fe2bba412c89753f58d /embeddedobj | |
parent | 3140af0a32a862d4300790522ccbbb47b468698d (diff) |
coverity#706511 Uncaught exception
Change-Id: I2822c35e60a93b86bdcb56f1e4782aa46e1ce8e0
Diffstat (limited to 'embeddedobj')
-rw-r--r-- | embeddedobj/source/msole/olemisc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embeddedobj/source/msole/olemisc.cxx b/embeddedobj/source/msole/olemisc.cxx index 9215e1039caf..96a03922f3ea 100644 --- a/embeddedobj/source/msole/olemisc.cxx +++ b/embeddedobj/source/msole/olemisc.cxx @@ -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) ) ); } |