Simplify containers iterations in desktop, dtrans, editeng, extensions

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

Use range-based loop or replace with STL functions

Change-Id: Ic5389d123d0a6a32a8bb46b081165e94a7c55292 Reviewed-on: https://gerrit.libreoffice.org/68036

6a143985bdc5 Simplify containers iterations in desktop, dtrans, editeng, extensions
.../source/deployment/gui/dp_gui_extlistbox.cxx | 75 +++++++++-----------
desktop/source/migration/migration.cxx | 17 ++---
dtrans/source/cnttype/mcnttype.cxx | 14 +---
dtrans/source/cnttype/wbench/testcnttype.cxx | 7 +-
dtrans/source/win32/ftransl/ftransl.cxx | 82 +++++++++-------------
editeng/qa/unit/core-test.cxx | 54 ++++----------
.../source/accessibility/AccessibleParaManager.cxx | 4 +-
.../accessibility/AccessibleStaticTextBase.cxx | 5 +-
editeng/source/editeng/editdoc.cxx | 29 ++++----
editeng/source/editeng/edtspell.cxx | 51 +++++---------
editeng/source/editeng/impedit4.cxx | 19 ++---
editeng/source/outliner/outliner.cxx | 14 ++--
extensions/source/dbpilots/gridwizard.cxx | 11 +--
extensions/source/inc/componentmodule.cxx | 17 ++---
extensions/source/propctrlr/browserlistbox.cxx | 17 ++---
.../source/propctrlr/buttonnavigationhandler.cxx | 2 +-
extensions/source/propctrlr/cellbindinghandler.cxx | 2 +-
.../source/propctrlr/editpropertyhandler.cxx | 6 +-
.../source/propctrlr/eformspropertyhandler.cxx | 4 +-
.../source/propctrlr/formcomponenthandler.cxx | 4 +-
.../source/propctrlr/formgeometryhandler.cxx | 2 +-
extensions/source/propctrlr/propcontroller.cxx | 21 ++----
extensions/source/propctrlr/propertyeditor.cxx | 7 +-
extensions/source/propctrlr/submissionhandler.cxx | 2 +-
extensions/source/update/check/updatecheck.cxx | 10 +--
25 files changed, 181 insertions(+), 295 deletions(-)

Upstream: cgit.freedesktop.org


  • Share