diff options
-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 ); |