Simplify containers iterations in reportdesign, sal, sax

Desktop / LibreOffice - Arkadiy Illarionov [gmail.com] - 12 February 2019 06:37 EST

Use range-based loop or replace with STL functions

Change-Id: If6b734dab12a7298fce16003d3d175305fbe798d Reviewed-on: https://gerrit.libreoffice.org/67701

3f08be2e511d Simplify containers iterations in reportdesign, sal, sax
reportdesign/source/core/api/FormattedField.cxx | 8 +-
reportdesign/source/core/api/ReportDefinition.cxx | 24 +-
reportdesign/source/core/misc/conditionupdater.cxx | 9 +-
reportdesign/source/core/sdr/PropertyForward.cxx | 16 +-
reportdesign/source/core/sdr/RptPage.cxx | 6 +-
reportdesign/source/core/sdr/formatnormalizer.cxx | 8 +-
reportdesign/source/filter/xml/xmlAutoStyle.cxx | 12 +-
reportdesign/source/filter/xml/xmlExport.cxx | 21 +-
reportdesign/source/filter/xml/xmlReport.cxx | 6 +-
reportdesign/source/filter/xml/xmlTable.cxx | 102 ++++-----
reportdesign/source/ui/dlg/CondFormat.cxx | 25 +--
reportdesign/source/ui/dlg/Condition.cxx | 9 +-
reportdesign/source/ui/dlg/GroupsSorting.cxx | 13 +-
.../source/ui/inspection/GeometryHandler.cxx | 87 ++++----
reportdesign/source/ui/misc/RptUndo.cxx | 10 +-
reportdesign/source/ui/misc/UITools.cxx | 26 +--
reportdesign/source/ui/report/DesignView.cxx | 7 +-
reportdesign/source/ui/report/ReportController.cxx | 59 +++--
.../source/ui/report/ReportControllerObserver.cxx | 5 +-
reportdesign/source/ui/report/ReportSection.cxx | 67 +++---
reportdesign/source/ui/report/ViewsWindow.cxx | 247 +++++++--------------
sal/rtl/bootstrap.cxx | 11 +-
sax/source/fastparser/fastparser.cxx | 20 +-
sax/source/tools/fastattribs.cxx | 4 +-
sax/source/tools/fastserializer.cxx | 10 +-
sax/test/sax/testwriter.cxx | 26 +--
sax/test/saxdemo.cxx | 22 +-
27 files changed, 348 insertions(+), 512 deletions(-)

Upstream: cgit.freedesktop.org


  • Share