Use vector::data

Desktop / LibreOffice - Stephan Bergmann [redhat.com] - 28 January 2015 10:56 UTC

...in some places where it is obvious that it does not hurt that for an empty
vector the obtained pointer is not necessarily a nullptr.

cead54b Use vector::data
connectivity/source/commontools/parameters.cxx | 6 ++----
connectivity/source/drivers/calc/CTable.cxx | 3 +--
connectivity/source/drivers/dbase/DTable.cxx | 3 +--
connectivity/source/drivers/file/FCatalog.cxx | 3 +--
connectivity/source/drivers/flat/EResultSet.cxx | 3 +--
connectivity/source/drivers/flat/ETable.cxx | 3 +--
connectivity/source/drivers/hsqldb/HCatalog.cxx | 3 +--
connectivity/source/drivers/hsqldb/HTable.cxx | 3 +--
connectivity/source/drivers/mysql/YCatalog.cxx | 3 +--
connectivity/source/drivers/mysql/YDriver.cxx | 3 +--
connectivity/source/sdbcx/VCollection.cxx | 3 +--
cppuhelper/source/tdmgr.cxx | 4 ++--
dbaccess/source/core/api/View.cxx | 3 +--
dbaccess/source/core/api/table.cxx | 3 +--
dbaccess/source/ui/browser/formadapter.cxx | 3 +--
dbaccess/source/ui/dlg/adtabdlg.cxx | 3 +--
.../source/ui/querydesign/TableWindowAccess.cxx | 3 +--
extensions/source/propctrlr/formlinkdialog.cxx | 6 ++----
formula/source/core/api/FormulaCompiler.cxx | 3 +--
i18npool/source/collator/gencoll_rule.cxx | 4 ++--
include/comphelper/sequence.hxx | 2 +-
reportdesign/source/core/api/Section.cxx | 3 +--
.../source/ui/inspection/DataProviderHandler.cxx | 2 +-
.../ui/inspection/ReportComponentHandler.cxx | 2 +-
reportdesign/source/ui/misc/FunctionHelper.cxx | 3 +--
reportdesign/source/ui/report/propbrw.cxx | 3 +--
stoc/source/security/permissions.cxx | 3 +--
stoc/source/servicemanager/servicemanager.cxx | 3 +--
stoc/source/simpleregistry/simpleregistry.cxx | 9 +++------
unotools/source/config/eventcfg.cxx | 3 +--
xmloff/source/forms/elementimport.cxx | 3 +--
31 files changed, 37 insertions(+), 67 deletions(-)

Upstream: cgit.freedesktop.org


  • Share