diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-15 10:28:27 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-15 10:29:55 +0200 |
commit | d18e27c80d3f1d7c641468b62aa6c26f4100142d (patch) | |
tree | 0fbc87783e63cf9986af157606a0e844b0837e48 /connectivity | |
parent | b93769c666d84509223b67aca614ef6d1655a9dd (diff) |
loplugin:simplifyconstruct
Change-Id: Ia74a2493ad780314a832b384ca6326c7fd420631
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/mysql_jdbc/YTables.cxx | 2 |
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); |