Simplify Sequence iterations in i18npool

Desktop / LibreOffice - Arkadiy Illarionov [gmail.com] - 21 October 2019 17:41 EDT

Use range-based loops, STL and comphelper functions.

Change-Id: Ibbc1c14e921585819872f26e8def2a60594e6a63 Reviewed-on: https://gerrit.libreoffice.org/78754

00e2f118d7f4 Simplify Sequence iterations in i18npool
.../source/breakiterator/breakiterator_unicode.cxx | 2 +-
i18npool/source/calendar/calendarImpl.cxx | 33 +++----
i18npool/source/calendar/calendar_gregorian.cxx | 8 +-
i18npool/source/collator/collatorImpl.cxx | 39 ++++----
.../defaultnumberingprovider.cxx | 7 +-
i18npool/source/indexentry/indexentrysupplier.cxx | 13 ++-
i18npool/source/localedata/LocaleNode.cxx | 11 ++-
i18npool/source/localedata/localedata.cxx | 45 +++------
i18npool/source/localedata/saxparser.cxx | 4 +-
.../source/numberformatcode/numberformatcode.cxx | 107 ++++++++++-----------
i18npool/source/ordinalsuffix/ordinalsuffix.cxx | 10 +-
i18npool/source/search/textsearch.cxx | 6 +-
.../source/textconversion/textconversion_ko.cxx | 19 +---
.../transliteration/ignoreDiacritics_CTL.cxx | 15 ++-
.../ignoreIandEfollowedByYa_ja_JP.cxx | 15 +--
.../transliteration/ignoreIterationMark_ja_JP.cxx | 12 +--
.../ignoreKiKuFollowedBySa_ja_JP.cxx | 15 +--
.../ignoreProlongedSoundMark_ja_JP.cxx | 12 +--
.../source/transliteration/transliterationImpl.cxx | 57 ++++++-----
.../transliteration/transliteration_OneToOne.cxx | 9 +-
.../transliteration/transliteration_body.cxx | 98 +++++++------------
21 files changed, 218 insertions(+), 319 deletions(-)

Upstream: cgit.freedesktop.org


  • Share