diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-04 20:53:56 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-04 20:58:30 +0100 |
commit | 3140af0a32a862d4300790522ccbbb47b468698d (patch) | |
tree | f7a254401eb0beecfeb57707238a2bb741d7c637 /embeddedobj/source/inc | |
parent | dc72c62b31ae0fa32e340cb424ad5cc967f87661 (diff) |
coverity#706508 Uncaught exception
and coverity#706509, coverity#706510
Change-Id: Ib160cc65ed50073f9302ac071b2e8970a7316a54
Diffstat (limited to 'embeddedobj/source/inc')
-rw-r--r-- | embeddedobj/source/inc/dummyobject.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/embeddedobj/source/inc/dummyobject.hxx b/embeddedobj/source/inc/dummyobject.hxx index 9c6163a7ba47..15b3dd7eba3b 100644 --- a/embeddedobj/source/inc/dummyobject.hxx +++ b/embeddedobj/source/inc/dummyobject.hxx @@ -68,7 +68,8 @@ class ODummyEmbeddedObject : public ::cppu::WeakImplHelper2 ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage > m_xNewParentStorage; protected: - void CheckInit(); + void CheckInit_WrongState(); //throw WrongStateException on m_nObjectState == -1 + void CheckInit_Runtime(); //throw RuntimeException on m_nObjectState == -1 void PostEvent_Impl( const OUString& aEventName ); public: |