diff options
Diffstat (limited to 'framework/inc/xml/toolboxdocumenthandler.hxx')
-rw-r--r-- | framework/inc/xml/toolboxdocumenthandler.hxx | 52 |
1 files changed, 13 insertions, 39 deletions
diff --git a/framework/inc/xml/toolboxdocumenthandler.hxx b/framework/inc/xml/toolboxdocumenthandler.hxx index 3e402b86072e..5e7488b3e5c2 100644 --- a/framework/inc/xml/toolboxdocumenthandler.hxx +++ b/framework/inc/xml/toolboxdocumenthandler.hxx @@ -65,41 +65,25 @@ class FWE_DLLPUBLIC OReadToolBoxDocumentHandler : virtual ~OReadToolBoxDocumentHandler() override; // XDocumentHandler - virtual void SAL_CALL startDocument() - throw ( css::xml::sax::SAXException, - css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL startDocument() override; - virtual void SAL_CALL endDocument() - throw( css::xml::sax::SAXException, - css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL endDocument() override; virtual void SAL_CALL startElement( const OUString& aName, - const css::uno::Reference< css::xml::sax::XAttributeList > &xAttribs) - throw( css::xml::sax::SAXException, - css::uno::RuntimeException, std::exception ) override; + const css::uno::Reference< css::xml::sax::XAttributeList > &xAttribs) override; - virtual void SAL_CALL endElement(const OUString& aName) - throw( css::xml::sax::SAXException, - css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL endElement(const OUString& aName) override; - virtual void SAL_CALL characters(const OUString& aChars) - throw( css::xml::sax::SAXException, - css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL characters(const OUString& aChars) override; - virtual void SAL_CALL ignorableWhitespace(const OUString& aWhitespaces) - throw( css::xml::sax::SAXException, - css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL ignorableWhitespace(const OUString& aWhitespaces) override; virtual void SAL_CALL processingInstruction(const OUString& aTarget, - const OUString& aData) - throw( css::xml::sax::SAXException, - css::uno::RuntimeException, std::exception ) override; + const OUString& aData) override; virtual void SAL_CALL setDocumentLocator( - const css::uno::Reference< css::xml::sax::XLocator > &xLocator) - throw( css::xml::sax::SAXException, - css::uno::RuntimeException, std::exception ) override; + const css::uno::Reference< css::xml::sax::XLocator > &xLocator) override; private: OUString getErrorLineString(); @@ -146,35 +130,25 @@ class FWE_DLLPUBLIC OWriteToolBoxDocumentHandler final /// @throws css::xml::sax::SAXException /// @throws css::uno::RuntimeException - void WriteToolBoxDocument() throw - ( css::xml::sax::SAXException, - css::uno::RuntimeException ); + void WriteToolBoxDocument(); private: /// @throws css::xml::sax::SAXException /// @throws css::uno::RuntimeException void WriteToolBoxItem( const OUString& aCommandURL, const OUString& aLabel, const OUString& aHelpURL, - sal_Int16 nStyle, bool bVisible ) throw - ( css::xml::sax::SAXException, - css::uno::RuntimeException ); + sal_Int16 nStyle, bool bVisible ); /// @throws css::xml::sax::SAXException /// @throws css::uno::RuntimeException - void WriteToolBoxSpace() throw - ( css::xml::sax::SAXException, - css::uno::RuntimeException ); + void WriteToolBoxSpace(); /// @throws css::xml::sax::SAXException /// @throws css::uno::RuntimeException - void WriteToolBoxBreak() throw - ( css::xml::sax::SAXException, - css::uno::RuntimeException ); + void WriteToolBoxBreak(); /// @throws css::xml::sax::SAXException /// @throws css::uno::RuntimeException - void WriteToolBoxSeparator() throw - ( css::xml::sax::SAXException, - css::uno::RuntimeException ); + void WriteToolBoxSeparator(); css::uno::Reference< css::xml::sax::XDocumentHandler > m_xWriteDocumentHandler; css::uno::Reference< css::xml::sax::XAttributeList > m_xEmptyList; |