summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-11-06 11:19:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-11-06 13:38:29 +0100
commit2b77d9dba51e1c3841428f3343e9186ca9c446ae (patch)
tree2b839547070996ec17d3f22694bb3588a3dc4991 /sw/inc
parent5e73b07c36ec1e40337075b93207c438d49ca565 (diff)
convert SwXMLSectionList to FastParser
Change-Id: I6bffd6891a4a90f986513a5385ef30c38f1a48c4 Reviewed-on: https://gerrit.libreoffice.org/82127 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/SwXMLSectionList.hxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/sw/inc/SwXMLSectionList.hxx b/sw/inc/SwXMLSectionList.hxx
index af8c8cb20831..99255b85df6c 100644
--- a/sw/inc/SwXMLSectionList.hxx
+++ b/sw/inc/SwXMLSectionList.hxx
@@ -23,10 +23,6 @@
class SwXMLSectionList final : public SvXMLImport
{
- virtual SvXMLImportContext *CreateDocumentContext( sal_uInt16 nPrefix,
- const OUString& rLocalName,
- const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList ) override;
-
public:
std::vector<OUString> & m_rSectionList;
@@ -34,8 +30,11 @@ public:
const css::uno::Reference< css::uno::XComponentContext >& rContext,
std::vector<OUString> & rNewSectionList);
- virtual ~SwXMLSectionList ( )
- throw() override;
+ virtual ~SwXMLSectionList ( ) throw() override;
+
+private:
+ virtual SvXMLImportContext *CreateFastContext( sal_Int32 Element,
+ const css::uno::Reference< css::xml::sax::XFastAttributeList > & xAttrList ) override;
};
#endif