summaryrefslogtreecommitdiff
path: root/xmloff/source/xforms/XFormsBindContext.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-04-29 13:52:09 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-04-29 20:16:28 +0200
commitb7bfe6ae08f5b214f2d03d70a40b66c894c0b659 (patch)
treec2a657a570190865e322f916f2926f648809171b /xmloff/source/xforms/XFormsBindContext.hxx
parent7787bac16cbe63698f56a9a70d9b1b217f3ea860 (diff)
Convert TokenContext to fastparser APIs
Change-Id: Ib40e2f3d37c52b03f2ecbd67aaeed9605e644fea Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93163 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/xforms/XFormsBindContext.hxx')
-rw-r--r--xmloff/source/xforms/XFormsBindContext.hxx15
1 files changed, 6 insertions, 9 deletions
diff --git a/xmloff/source/xforms/XFormsBindContext.hxx b/xmloff/source/xforms/XFormsBindContext.hxx
index 26424b8c406f..a4c7a47a48fd 100644
--- a/xmloff/source/xforms/XFormsBindContext.hxx
+++ b/xmloff/source/xforms/XFormsBindContext.hxx
@@ -40,24 +40,21 @@ class XFormsBindContext : public TokenContext
public:
XFormsBindContext( SvXMLImport& rImport,
- sal_uInt16 nPrefix,
- const OUString& rLocalName,
const css::uno::Reference<css::xforms::XModel2>& xModel );
// implement SvXMLImportContext & TokenContext methods:
- virtual void StartElement(
- const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList ) override;
+ virtual void SAL_CALL startFastElement(
+ sal_Int32 nElement,
+ const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList ) override;
protected:
- virtual void HandleAttribute( sal_uInt16 nToken,
+ virtual bool HandleAttribute( sal_Int32 nElement,
const OUString& rValue ) override;
virtual SvXMLImportContext* HandleChild(
- sal_uInt16 nToken,
- sal_uInt16 nNamespace,
- const OUString& rLocalName,
- const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList ) override;
+ sal_Int32 nElement,
+ const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList ) override;
};