summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2020-11-20 15:07:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-11-21 07:06:11 +0100
commitd0a60f7785dc66e0d491b50e093ebcf606627226 (patch)
tree24bebb09abae30dba9ad07a3b0c347d5c37fbf64 /include
parent8c14adfa76956e76bac98330ce67f080c90af184 (diff)
fastparser in XMLEventsImportContext
Change-Id: Ifeeb2220ec6dfe6ec91f238137796d7d9e517465 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106261 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/xmloff/XMLEventsImportContext.hxx19
-rw-r--r--include/xmloff/xmlevent.hxx4
2 files changed, 2 insertions, 21 deletions
diff --git a/include/xmloff/XMLEventsImportContext.hxx b/include/xmloff/XMLEventsImportContext.hxx
index 36b18f86fd90..dc03d91a61ab 100644
--- a/include/xmloff/XMLEventsImportContext.hxx
+++ b/include/xmloff/XMLEventsImportContext.hxx
@@ -59,28 +59,14 @@ protected:
public:
-
- XMLEventsImportContext(
- SvXMLImport& rImport,
- sal_uInt16 nPrfx,
- const OUString& rLocalName);
-
XMLEventsImportContext(SvXMLImport& rImport);
XMLEventsImportContext(
SvXMLImport& rImport,
- sal_uInt16 nPrfx,
- const OUString& rLocalName,
const css::uno::Reference<css::document::XEventsSupplier> & xEventsSupplier);
XMLEventsImportContext(
SvXMLImport& rImport,
- const css::uno::Reference<css::document::XEventsSupplier> & xEventsSupplier);
-
- XMLEventsImportContext(
- SvXMLImport& rImport,
- sal_uInt16 nPrfx,
- const OUString& rLocalName,
const css::uno::Reference<css::container::XNameReplace> & xNameRepl);
virtual ~XMLEventsImportContext() override;
@@ -107,11 +93,6 @@ public:
protected:
- virtual SvXMLImportContextRef CreateChildContext(
- sal_uInt16 nPrefix,
- const OUString& rLocalName,
- const css::uno::Reference<css::xml::sax::XAttributeList> & xAttrList ) override;
-
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList ) override;
};
diff --git a/include/xmloff/xmlevent.hxx b/include/xmloff/xmlevent.hxx
index c212e4415e73..900a03694ae7 100644
--- a/include/xmloff/xmlevent.hxx
+++ b/include/xmloff/xmlevent.hxx
@@ -33,7 +33,7 @@ namespace com::sun::star::uno { template <typename > class Sequence; }
*/
namespace com::sun::star {
- namespace xml::sax { class XAttributeList; }
+ namespace xml::sax { class XFastAttributeList; }
namespace beans { struct PropertyValue; }
}
@@ -128,7 +128,7 @@ public:
virtual SvXMLImportContext* CreateContext(
SvXMLImport& rImport, /// import context
- const css::uno::Reference<css::xml::sax::XAttributeList> & xAttrList, /// attribute list
+ const css::uno::Reference<css::xml::sax::XFastAttributeList> & xAttrList, /// attribute list
/// the context for the enclosing <script:events> element
XMLEventsImportContext* rEvents,
/// the event name (as understood by the API)