Modernize a bit more dbaccess

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

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

Change-Id: If04cd78e62f80f9575e24f3d50ff1e427454da79 Reviewed-on: https://gerrit.libreoffice.org/51019

5b2fc10f0cc9 Modernize a bit more dbaccess
.../source/core/dataaccess/bookmarkcontainer.cxx | 10 ++-
dbaccess/source/core/dataaccess/connection.cxx | 10 ++-
.../source/core/dataaccess/databasecontext.cxx | 8 +--
.../source/core/dataaccess/databasedocument.cxx | 21 ++----
.../source/core/dataaccess/definitioncontainer.cxx | 32 +++------
.../source/core/dataaccess/documentcontainer.cxx | 12 ++--
.../source/core/dataaccess/myucp_datasupplier.cxx | 8 +--
dbaccess/source/core/misc/DatabaseDataProvider.cxx | 30 ++++-----
dbaccess/source/core/misc/PropertyForward.cxx | 6 +-
dbaccess/source/core/misc/dsntypes.cxx | 58 ++++++++---------
dbaccess/source/core/recovery/dbdocrecovery.cxx | 45 +++++--------
.../source/ext/macromigration/migrationengine.cxx | 10 ++-
.../source/ext/macromigration/migrationlog.cxx | 49 ++++++--------
.../source/ext/macromigration/progressmixer.cxx | 11 ++--
dbaccess/source/filter/hsqldb/createparser.cxx | 4 +-
dbaccess/source/filter/xml/xmlAutoStyle.cxx | 12 ++--
dbaccess/source/filter/xml/xmlExport.cxx | 15 ++---
dbaccess/source/ui/app/AppController.cxx | 25 +++-----
dbaccess/source/ui/app/AppControllerGen.cxx | 19 +++---
dbaccess/source/ui/app/AppDetailView.cxx | 22 +++----
dbaccess/source/ui/app/subcomponentmanager.cxx | 48 ++++++--------
dbaccess/source/ui/browser/genericcontroller.cxx | 50 +++++----------
dbaccess/source/ui/browser/sbagrid.cxx | 18 ++----
dbaccess/source/ui/browser/unodatbr.cxx | 70 ++++++++------------
dbaccess/source/ui/control/FieldDescControl.cxx | 6 +-
dbaccess/source/ui/control/RelationControl.cxx | 36 +++++------
dbaccess/source/ui/control/charsetlistbox.cxx | 6 +-
dbaccess/source/ui/control/tabletree.cxx | 16 ++---
dbaccess/source/ui/dlg/DbAdminImpl.cxx | 75 ++++++++--------------
dbaccess/source/ui/dlg/DriverSettings.cxx | 7 +-
dbaccess/source/ui/dlg/advancedsettings.cxx | 48 ++++++--------
dbaccess/source/ui/dlg/dbadmin.cxx | 7 +-
dbaccess/source/ui/dlg/dbwizsetup.cxx | 15 ++---
dbaccess/source/ui/dlg/dsselect.cxx | 7 +-
dbaccess/source/ui/dlg/generalpage.cxx | 8 +--
dbaccess/source/ui/dlg/indexdialog.cxx | 48 ++++++--------
dbaccess/source/ui/dlg/indexfieldscontrol.cxx | 10 ++-
dbaccess/source/ui/dlg/paramdialog.cxx | 14 ++--
dbaccess/source/ui/dlg/sqlmessage.cxx | 17 ++---
dbaccess/source/ui/inc/TableFieldDescription.hxx | 12 ++--
dbaccess/source/ui/misc/DExport.cxx | 36 +++++------
dbaccess/source/ui/misc/RowSetDrop.cxx | 44 ++++++-------
42 files changed, 395 insertions(+), 610 deletions(-)

Upstream: cgit.freedesktop.org


  • Share