diff options
Diffstat (limited to 'writerperfect/source/writer/exp/xmlictxt.hxx')
-rw-r--r-- | writerperfect/source/writer/exp/xmlictxt.hxx | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/writerperfect/source/writer/exp/xmlictxt.hxx b/writerperfect/source/writer/exp/xmlictxt.hxx index 622daccb368e..03801d104bcb 100644 --- a/writerperfect/source/writer/exp/xmlictxt.hxx +++ b/writerperfect/source/writer/exp/xmlictxt.hxx @@ -19,32 +19,33 @@ namespace writerperfect { namespace exp { - class XMLImport; /// Base class for a handler of a single XML element during ODF -> librevenge conversion. -class XMLImportContext : public cppu::WeakImplHelper - < - css::xml::sax::XDocumentHandler - > +class XMLImportContext : public cppu::WeakImplHelper<css::xml::sax::XDocumentHandler> { public: - XMLImportContext(XMLImport &rImport); + XMLImportContext(XMLImport& rImport); - virtual rtl::Reference<XMLImportContext> CreateChildContext(const OUString &rName, const css::uno::Reference<css::xml::sax::XAttributeList> &xAttribs); + virtual rtl::Reference<XMLImportContext> + CreateChildContext(const OUString& rName, + const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs); // XDocumentHandler void SAL_CALL startDocument() override; void SAL_CALL endDocument() override; - void SAL_CALL startElement(const OUString &rName, const css::uno::Reference<css::xml::sax::XAttributeList> &xAttribs) override; - void SAL_CALL endElement(const OUString &rName) override; - void SAL_CALL characters(const OUString &rChars) override; - void SAL_CALL ignorableWhitespace(const OUString &rWhitespaces) override; - void SAL_CALL processingInstruction(const OUString &rTarget, const OUString &rData) override; - void SAL_CALL setDocumentLocator(const css::uno::Reference<css::xml::sax::XLocator> &xLocator) override; + void SAL_CALL + startElement(const OUString& rName, + const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override; + void SAL_CALL endElement(const OUString& rName) override; + void SAL_CALL characters(const OUString& rChars) override; + void SAL_CALL ignorableWhitespace(const OUString& rWhitespaces) override; + void SAL_CALL processingInstruction(const OUString& rTarget, const OUString& rData) override; + void SAL_CALL + setDocumentLocator(const css::uno::Reference<css::xml::sax::XLocator>& xLocator) override; protected: - XMLImport &mrImport; + XMLImport& mrImport; }; } // namespace exp |