diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-13 13:17:06 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-13 14:56:21 +0000 |
commit | 9a34c555293d27a392581acc34c06df4559930fc (patch) | |
tree | ad1eb2cb85982c5dc13bb1e07198a3c0d7828798 /framework | |
parent | 24949f84ae3ea323676039f4fd4ca204c074468b (diff) |
coverity#737239 Uncaught exception
Change-Id: Ic9635e77e5fd4e356b30aac314c7438060b82a58
Diffstat (limited to 'framework')
-rw-r--r-- | framework/inc/xml/imagesdocumenthandler.hxx | 5 | ||||
-rw-r--r-- | framework/source/xml/imagesdocumenthandler.cxx | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/framework/inc/xml/imagesdocumenthandler.hxx b/framework/inc/xml/imagesdocumenthandler.hxx index 9476fe8135a1..f0db6ec88d23 100644 --- a/framework/inc/xml/imagesdocumenthandler.hxx +++ b/framework/inc/xml/imagesdocumenthandler.hxx @@ -85,8 +85,9 @@ class OReadImagesDocumentHandler : private ThreadHelpBase, // Struct for right ::com::sun::star::uno::RuntimeException ); virtual void SAL_CALL endElement(const OUString& aName) - throw( ::com::sun::star::xml::sax::SAXException, - ::com::sun::star::uno::RuntimeException ); + throw (::com::sun::star::xml::sax::SAXException, + ::com::sun::star::uno::RuntimeException, + std::exception); virtual void SAL_CALL characters(const OUString& aChars) throw( ::com::sun::star::xml::sax::SAXException, diff --git a/framework/source/xml/imagesdocumenthandler.cxx b/framework/source/xml/imagesdocumenthandler.cxx index ec14d8f109ec..4db5553492c9 100644 --- a/framework/source/xml/imagesdocumenthandler.cxx +++ b/framework/source/xml/imagesdocumenthandler.cxx @@ -497,7 +497,9 @@ throw( SAXException, RuntimeException ) } void SAL_CALL OReadImagesDocumentHandler::endElement(const OUString& aName) -throw( SAXException, RuntimeException ) + throw(SAXException, + RuntimeException, + std::exception) { ResetableGuard aGuard( m_aLock ); |