Simplify Sequence iterations in postprocess..sax

Desktop / LibreOffice - Arkadiy Illarionov [gmail.com] - 17 August 2019 12:08 EDT

Use range-based loops, STL and comphelper functions

Change-Id: If738d8f4e792c4686870183b0c0fdfbb61fd3351 Reviewed-on: https://gerrit.libreoffice.org/77245

edcdfe547755 Simplify Sequence iterations in postprocess..sax
postprocess/CppunitTest_services.mk | 1 +
postprocess/qa/services.cxx | 54 +++++++++-------------
pyuno/source/module/pyuno_adapter.cxx | 38 +++++----------
reportdesign/source/core/api/ReportDefinition.cxx | 21 +++------
reportdesign/source/core/sdr/RptObject.cxx | 11 +++--
reportdesign/source/filter/xml/xmlExport.cxx | 7 ++-
.../source/filter/xml/xmlExportDocumentHandler.cxx | 12 ++---
.../source/filter/xml/xmlImportDocumentHandler.cxx | 9 ++--
reportdesign/source/filter/xml/xmlfilter.cxx | 28 +++++------
reportdesign/source/ui/dlg/AddField.cxx | 18 +++-----
reportdesign/source/ui/dlg/DateTime.cxx | 6 +--
reportdesign/source/ui/dlg/GroupsSorting.cxx | 18 +++-----
reportdesign/source/ui/dlg/Navigator.cxx | 6 +--
.../source/ui/inspection/GeometryHandler.cxx | 8 ++--
reportdesign/source/ui/misc/RptUndo.cxx | 10 ++--
reportdesign/source/ui/report/ReportController.cxx | 27 ++++-------
reportdesign/source/ui/report/ReportSection.cxx | 17 +++----
reportdesign/source/ui/report/ViewsWindow.cxx | 14 ++----
sax/source/expatwrap/xml2utf.cxx | 11 +----
sax/source/fastparser/fastparser.cxx | 7 ++-
sax/source/fastparser/legacyfastparser.cxx | 18 ++++----
sax/source/tools/fastserializer.cxx | 4 +-
22 files changed, 132 insertions(+), 213 deletions(-)

Upstream: cgit.freedesktop.org


  • Share