summaryrefslogtreecommitdiffstats
path: root/connectivity/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-15 10:28:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-15 10:29:55 +0200
commitd18e27c80d3f1d7c641468b62aa6c26f4100142d (patch)
tree0fbc87783e63cf9986af157606a0e844b0837e48 /connectivity/source
parenttdf#42949 Fix IWYU warnings in include/basegfx/* (diff)
downloadcore-d18e27c80d3f1d7c641468b62aa6c26f4100142d.tar.gz
core-d18e27c80d3f1d7c641468b62aa6c26f4100142d.zip
loplugin:simplifyconstruct
Change-Id: Ia74a2493ad780314a832b384ca6326c7fd420631
Diffstat (limited to 'connectivity/source')
-rw-r--r--connectivity/source/drivers/mysql_jdbc/YTables.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/mysql_jdbc/YTables.cxx b/connectivity/source/drivers/mysql_jdbc/YTables.cxx
index 9caabc3d2e70..e65f510c700e 100644
--- a/connectivity/source/drivers/mysql_jdbc/YTables.cxx
+++ b/connectivity/source/drivers/mysql_jdbc/YTables.cxx
@@ -61,7 +61,7 @@ sdbcx::ObjectType OTables::createObject(const OUString& _rName)
aCatalog <<= sCatalog;
Reference<XResultSet> xResult = m_xMetaData->getTables(aCatalog, sSchema, sTable, sTableTypes);
- sdbcx::ObjectType xRet = nullptr;
+ sdbcx::ObjectType xRet;
if (xResult.is())
{
Reference<XRow> xRow(xResult, UNO_QUERY);