convert dbaccess to FastParser APIs

Desktop / LibreOffice - Noel Grandin [collabora.co.uk] - 13 January 2020 12:34 EST

Noting that I use "& TOKEN_MASK" a lot because we can be dealing with either NAMESPACE_DB or NAMESPACE_DB_OASIS.

Change-Id: I5ca0aac61e37dc903bb998a43b73b48df22e55fd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86655

db6c54b2e93d convert dbaccess to FastParser APIs
dbaccess/source/filter/xml/xmlColumn.cxx | 44 ++--
dbaccess/source/filter/xml/xmlColumn.hxx | 8 +-
dbaccess/source/filter/xml/xmlComponent.cxx | 33 ++-
dbaccess/source/filter/xml/xmlComponent.hxx | 6 +-
dbaccess/source/filter/xml/xmlConnectionData.cxx | 28 +--
dbaccess/source/filter/xml/xmlConnectionData.hxx | 10 +-
.../source/filter/xml/xmlConnectionResource.cxx | 84 +++----
.../source/filter/xml/xmlConnectionResource.hxx | 7 +-
dbaccess/source/filter/xml/xmlDataSource.cxx | 265 ++++++++++----------
dbaccess/source/filter/xml/xmlDataSource.hxx | 12 +-
dbaccess/source/filter/xml/xmlDataSourceInfo.cxx | 47 ++--
dbaccess/source/filter/xml/xmlDataSourceInfo.hxx | 9 +-
.../source/filter/xml/xmlDataSourceSetting.cxx | 51 ++--
.../source/filter/xml/xmlDataSourceSetting.hxx | 17 +-
.../source/filter/xml/xmlDataSourceSettings.cxx | 19 +-
.../source/filter/xml/xmlDataSourceSettings.hxx | 9 +-
dbaccess/source/filter/xml/xmlDatabase.cxx | 38 ++-
dbaccess/source/filter/xml/xmlDatabase.hxx | 14 +-
.../source/filter/xml/xmlDatabaseDescription.cxx | 22 +-
.../source/filter/xml/xmlDatabaseDescription.hxx | 10 +-
dbaccess/source/filter/xml/xmlDocuments.cxx | 34 ++-
dbaccess/source/filter/xml/xmlDocuments.hxx | 11 +-
dbaccess/source/filter/xml/xmlEnums.hxx | 126 ----------
.../source/filter/xml/xmlFileBasedDatabase.cxx | 89 ++++---
.../source/filter/xml/xmlFileBasedDatabase.hxx | 7 +-
.../source/filter/xml/xmlHierarchyCollection.cxx | 52 ++--
.../source/filter/xml/xmlHierarchyCollection.hxx | 13 +-
dbaccess/source/filter/xml/xmlLogin.cxx | 113 +++++----
dbaccess/source/filter/xml/xmlLogin.hxx | 7 +-
dbaccess/source/filter/xml/xmlQuery.cxx | 44 ++--
dbaccess/source/filter/xml/xmlQuery.hxx | 11 +-
dbaccess/source/filter/xml/xmlServerDatabase.cxx | 63 +++--
dbaccess/source/filter/xml/xmlServerDatabase.hxx | 7 +-
dbaccess/source/filter/xml/xmlTable.cxx | 85 +++----
dbaccess/source/filter/xml/xmlTable.hxx | 15 +-
dbaccess/source/filter/xml/xmlTableFilterList.cxx | 34 +--
dbaccess/source/filter/xml/xmlTableFilterList.hxx | 13 +-
.../source/filter/xml/xmlTableFilterPattern.cxx | 8 +-
.../source/filter/xml/xmlTableFilterPattern.hxx | 6 +-
dbaccess/source/filter/xml/xmlfilter.cxx | 268 +++------------------
dbaccess/source/filter/xml/xmlfilter.hxx | 18 --
xmloff/source/core/xmlimp.cxx | 3 +-
42 files changed, 655 insertions(+), 1105 deletions(-)

Upstream: cgit.freedesktop.org


  • Share