Simplify Sequence iterations in vcl

Desktop / LibreOffice - Arkadiy Illarionov [gmail.com] - 18 June 2019 07:43 EDT

Use range-based loops or replace with comphelper or STL functions

Change-Id: If046738084c2d13cc1eaea6a03aaf60b63f62767 Reviewed-on: https://gerrit.libreoffice.org/74104

452a8e4abe0c Simplify Sequence iterations in vcl
vcl/qa/cppunit/canvasbitmaptest.cxx | 46 +++++++++-------------
vcl/source/components/fontident.cxx | 6 +--
vcl/source/control/edit.cxx | 18 +++------
vcl/source/filter/FilterConfigCache.cxx | 4 +-
vcl/source/filter/FilterConfigItem.cxx | 39 +++++++------------
vcl/source/filter/graphicfilter.cxx | 32 ++++++++-------
vcl/source/filter/jpeg/JpegWriter.cxx | 9 ++---
vcl/source/filter/png/pngwrite.cxx | 15 ++++----
vcl/source/filter/wmf/wmfexternal.cxx | 10 ++---
vcl/source/font/fontmetric.cxx | 10 ++---
vcl/source/gdi/configsettings.cxx | 14 +++----
vcl/source/gdi/print3.cxx | 49 +++++++++--------------
vcl/source/graphic/UnoGraphic.cxx | 3 +-
vcl/source/graphic/UnoGraphicProvider.cxx | 60 ++++++++++++++++-------------
vcl/source/helper/canvasbitmap.cxx | 56 +++++++++++++--------------
vcl/source/helper/canvastools.cxx | 34 +++++++---------
vcl/source/helper/commandinfoprovider.cxx | 47 ++++++++++------------
vcl/source/uitest/logger.cxx | 7 +---
vcl/source/uitest/uitest.cxx | 6 +--
vcl/source/uitest/uno/uiobject_uno.cxx | 6 +--
vcl/source/window/printdlg.cxx | 15 ++++----
vcl/unx/generic/dtrans/X11_selection.cxx | 21 ++++------
vcl/unx/generic/dtrans/X11_transferable.cxx | 11 +++---
vcl/unx/gtk/a11y/atkaction.cxx | 18 ++++-----
vcl/unx/gtk/a11y/atktable.cxx | 4 +-
vcl/unx/gtk/a11y/atktextattributes.cxx | 14 +++----
vcl/unx/gtk/a11y/atkwrapper.cxx | 11 +++---
vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx | 40 +++++++------------
vcl/unx/gtk/salprn-gtk.cxx | 15 ++++----
vcl/unx/gtk3/gtk3gtkinst.cxx | 4 +-
vcl/workben/vcldemo.cxx | 8 ++--
31 files changed, 270 insertions(+), 362 deletions(-)

Upstream: cgit.freedesktop.org


  • Share