dbaccess: create instances with uno constructors

Desktop / LibreOffice - Noel Grandin [collabora.co.uk] - 8 July 2020 18:26 UTC

See tdf#74608 for motivation

Change-Id: Ib03014444d8176417cbd00b56764ee45fdad557c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98322

d29a314300d5 dbaccess: create instances with uno constructors
dbaccess/Library_dbaxml.mk | 2 -
dbaccess/Library_dbu.mk | 2 -
dbaccess/Library_sdbt.mk | 1 -
dbaccess/inc/pch/precompiled_dbaxml.hxx | 1 -
dbaccess/inc/pch/precompiled_dbu.hxx | 2 -
dbaccess/source/filter/xml/dbaxml.component | 20 ++--
dbaccess/source/filter/xml/dbloader2.cxx | 61 ++---------
dbaccess/source/filter/xml/xmlExport.cxx | 99 ++++--------------
dbaccess/source/filter/xml/xmlfilter.cxx | 8 +-
dbaccess/source/filter/xml/xmlservices.cxx | 69 -------------
dbaccess/source/filter/xml/xmlservices.hxx | 37 -------
dbaccess/source/inc/apitools.hxx | 37 -------
dbaccess/source/inc/dbu_reghelper.hxx | 39 -------
dbaccess/source/inc/flt_reghelper.hxx | 39 -------
dbaccess/source/inc/registrationhelper.hxx | 112 ---------------------
.../source/sdbtools/connection/connectiontools.cxx | 26 ++---
dbaccess/source/sdbtools/inc/connectiontools.hxx | 6 --
dbaccess/source/sdbtools/misc/sdbt_services.cxx | 46 ---------
dbaccess/source/shared/dbu_reghelper.cxx | 34 -------
dbaccess/source/shared/flt_reghelper.cxx | 34 -------
dbaccess/source/ui/app/AppController.cxx | 26 +----
dbaccess/source/ui/app/AppController.hxx | 7 --
dbaccess/source/ui/browser/dbloader.cxx | 33 ++----
dbaccess/source/ui/browser/exsrcbrw.cxx | 29 ++----
dbaccess/source/ui/browser/sbagrid.cxx | 26 ++---
dbaccess/source/ui/browser/unodatbr.cxx | 28 ++----
dbaccess/source/ui/inc/RelationController.hxx | 7 --
dbaccess/source/ui/inc/TableController.hxx | 7 --
dbaccess/source/ui/inc/exsrcbrw.hxx | 7 --
dbaccess/source/ui/inc/querycontroller.hxx | 7 --
dbaccess/source/ui/inc/sbagrid.hxx | 7 --
dbaccess/source/ui/inc/uiservices.hxx | 55 ----------
dbaccess/source/ui/inc/unodatbr.hxx | 8 --
dbaccess/source/ui/inc/unosqlmessage.hxx | 10 +-
dbaccess/source/ui/misc/uiservices.cxx | 87 ----------------
.../source/ui/querydesign/limitboxcontroller.cxx | 20 ++--
.../source/ui/querydesign/limitboxcontroller.hxx | 6 --
dbaccess/source/ui/querydesign/querycontroller.cxx | 54 +++-------
.../ui/relationdesign/RelationController.cxx | 26 +----
dbaccess/source/ui/tabledesign/TableController.cxx | 25 +----
dbaccess/source/ui/uno/AdvancedSettingsDlg.cxx | 34 +------
dbaccess/source/ui/uno/ColumnControl.cxx | 19 ++--
dbaccess/source/ui/uno/ColumnControl.hxx | 6 --
dbaccess/source/ui/uno/ColumnModel.cxx | 19 ++--
dbaccess/source/ui/uno/ColumnModel.hxx | 6 --
dbaccess/source/ui/uno/DBTypeWizDlg.cxx | 23 +----
dbaccess/source/ui/uno/DBTypeWizDlg.hxx | 10 +-
dbaccess/source/ui/uno/DBTypeWizDlgSetup.cxx | 27 +----
dbaccess/source/ui/uno/DBTypeWizDlgSetup.hxx | 10 +-
dbaccess/source/ui/uno/TableFilterDlg.cxx | 23 +----
dbaccess/source/ui/uno/TableFilterDlg.hxx | 10 +-
dbaccess/source/ui/uno/UserSettingsDlg.cxx | 23 +----
dbaccess/source/ui/uno/UserSettingsDlg.hxx | 10 +-
dbaccess/source/ui/uno/admindlg.cxx | 23 +----
dbaccess/source/ui/uno/admindlg.hxx | 10 +-
dbaccess/source/ui/uno/composerdialogs.cxx | 39 +++----
dbaccess/source/ui/uno/composerdialogs.hxx | 12 ---
dbaccess/source/ui/uno/copytablewizard.cxx | 32 +-----
dbaccess/source/ui/uno/dbinteraction.cxx | 40 ++++----
dbaccess/source/ui/uno/dbinteraction.hxx | 12 ---
.../source/ui/uno/textconnectionsettings_uno.cxx | 34 ++-----
dbaccess/source/ui/uno/unoDirectSql.cxx | 20 ++--
dbaccess/source/ui/uno/unoDirectSql.hxx | 9 +-
dbaccess/source/ui/uno/unosqlmessage.cxx | 23 +----
dbaccess/util/dbu.component | 80 ++++++++++-----
dbaccess/util/sdbt.component | 5 +-
solenv/bin/native-code.py | 8 +-
67 files changed, 307 insertions(+), 1410 deletions(-)

Upstream: cgit.freedesktop.org


  • Share