Simplify containers iterations in sfx2, shell

Desktop / LibreOffice - Arkadiy Illarionov [gmail.com] - 1 December 2018 17:26 EST

Use range-based loop or replace with STL functions

Change-Id: I42361d6a73d201db8eb6dca09d79768e2d62051d Reviewed-on: https://gerrit.libreoffice.org/64389

56d97cdd0af1 Simplify containers iterations in sfx2, shell
sfx2/source/appl/linkmgr2.cxx | 5 +-
sfx2/source/appl/linksrc.cxx | 10 ++-
sfx2/source/appl/preventduplicateinteraction.cxx | 65 +++++++------------
sfx2/source/control/templatelocalview.cxx | 32 +++++-----
sfx2/source/dialog/dinfdlg.cxx | 45 +++++++------
sfx2/source/dialog/filtergrouping.cxx | 14 ++---
sfx2/source/dialog/infobar.cxx | 23 +++----
sfx2/source/doc/DocumentMetadataAccess.cxx | 12 ++--
sfx2/source/doc/docfac.cxx | 7 +--
sfx2/source/doc/docinf.cxx | 7 +--
sfx2/source/notebookbar/PriorityHBox.cxx | 17 ++---
sfx2/source/notify/globalevents.cxx | 16 ++---
sfx2/source/sidebar/DeckLayouter.cxx | 73 +++++++++-------------
sfx2/source/sidebar/SidebarController.cxx | 52 ++++++---------
sfx2/source/sidebar/Theme.cxx | 30 +++------
sfx2/source/sidebar/UnoDecks.cxx | 21 +++----
sfx2/source/sidebar/UnoPanels.cxx | 29 ++++-----
sfx2/source/view/viewsh.cxx | 11 +---
.../shlxthandler/propsheets/listviewbuilder.cxx | 16 ++---
.../win32/shlxthandler/util/iso8601_converter.cxx | 17 +++--
20 files changed, 189 insertions(+), 313 deletions(-)

Upstream: cgit.freedesktop.org


  • Share