Simplify containers iterations in vcl

Desktop / LibreOffice - Arkadiy Illarionov [gmail.com] - 14 October 2018 15:30 EDT

Use range-based loop or replace with STL functions.

Change-Id: Ide2f89194238ae6a1f21e8132e2297710d9e6dcd Reviewed-on: https://gerrit.libreoffice.org/61756

19be86249dcc Simplify containers iterations in vcl
vcl/headless/svpframe.cxx | 5 +-
vcl/inc/impdel.hxx | 5 +-
vcl/osx/salnativewidgets.cxx | 10 +-
vcl/qt5/Qt5Instance_Print.cxx | 6 +-
vcl/quartz/ctfonts.cxx | 5 +-
vcl/quartz/salgdicommon.cxx | 9 +-
vcl/source/control/throbber.cxx | 7 +-
vcl/source/filter/graphicfilter.cxx | 15 +--
vcl/source/filter/wmf/wmfwr.cxx | 5 +-
vcl/source/font/PhysicalFontCollection.cxx | 5 +-
vcl/source/fontsubset/sft.cxx | 5 +-
vcl/source/gdi/pdfextoutdevdata.cxx | 35 +++----
vcl/source/gdi/pdfwriter_impl.cxx | 14 +--
vcl/source/gdi/textlayout.cxx | 7 +-
vcl/source/window/accmgr.cxx | 14 +--
vcl/source/window/builder.cxx | 35 +++----
vcl/source/window/dialog.cxx | 18 ++--
vcl/source/window/dlgctrl.cxx | 27 ++---
vcl/source/window/layout.cxx | 9 +-
vcl/source/window/menu.cxx | 6 +-
vcl/source/window/printdlg.cxx | 20 ++--
vcl/source/window/taskpanelist.cxx | 130 +++++++++++--------------
vcl/source/window/toolbox.cxx | 61 ++++--------
vcl/source/window/toolbox2.cxx | 104 +++++++-------------
vcl/unx/generic/dtrans/X11_selection.cxx | 11 +--
vcl/unx/generic/fontmanager/fontconfig.cxx | 4 +-
vcl/unx/generic/gdi/cairotextrender.cxx | 8 +-
vcl/unx/generic/gdi/salbmp.cxx | 11 +--
vcl/unx/generic/printer/ppdparser.cxx | 25 +++--
vcl/unx/generic/printer/printerinfomanager.cxx | 35 +++----
vcl/unx/gtk/gtksalframe.cxx | 19 ++--
vcl/unx/gtk/salprn-gtk.cxx | 5 +-
vcl/unx/gtk3/gtk3gtkframe.cxx | 19 ++--
vcl/win/gdi/salnativewidgets-luna.cxx | 8 +-
vcl/workben/vcldemo.cxx | 11 +--
35 files changed, 268 insertions(+), 445 deletions(-)

Upstream: cgit.freedesktop.org


  • Share