Modernize a bit more dbaccess (part2)

Desktop / LibreOffice - Julien Nabet [yahoo.fr] - 10 March 2018 15:52 EST

mainly by using for-range loops but also by simplifying some simple algo

Change-Id: If5ce6d901761db2b872a99e6de0eb6d2f098df99 Reviewed-on: https://gerrit.libreoffice.org/51044

ba98f6e3e4db Modernize a bit more dbaccess (part2)
dbaccess/source/ui/misc/UITools.cxx | 24 ++--
dbaccess/source/ui/misc/WCPage.cxx | 15 +-
dbaccess/source/ui/misc/WColumnSelect.cxx | 20 ++-
dbaccess/source/ui/misc/WCopyTable.cxx | 63 ++++-----
dbaccess/source/ui/misc/WNameMatch.cxx | 46 ++++---
dbaccess/source/ui/misc/WTypeSelect.cxx | 20 ++-
dbaccess/source/ui/misc/indexcollection.cxx | 11 +-
.../source/ui/querydesign/ConnectionLineAccess.cxx | 17 ++-
dbaccess/source/ui/querydesign/JoinController.cxx | 31 ++---
dbaccess/source/ui/querydesign/JoinExchange.cxx | 8 +-
dbaccess/source/ui/querydesign/JoinTableView.cxx | 92 +++++--------
dbaccess/source/ui/querydesign/QueryDesignView.cxx | 15 +-
.../source/ui/querydesign/QueryTabWinUndoAct.cxx | 8 +-
dbaccess/source/ui/querydesign/QueryTableView.cxx | 43 +++---
.../source/ui/querydesign/SelectionBrowseBox.cxx | 153 ++++++++++-----------
dbaccess/source/ui/querydesign/TableConnection.cxx | 22 ++-
.../source/ui/querydesign/TableConnectionData.cxx | 27 ++--
.../ui/querydesign/TableFieldDescription.cxx | 8 +-
.../source/ui/querydesign/TableWindowAccess.cxx | 19 ++-
dbaccess/source/ui/querydesign/querycontroller.cxx | 13 +-
.../ui/relationdesign/RTableConnectionData.cxx | 12 +-
dbaccess/source/ui/tabledesign/TableController.cxx | 14 +-
22 files changed, 301 insertions(+), 380 deletions(-)

Upstream: cgit.freedesktop.org


  • Share