summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/evoab2/NTables.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-06 10:30:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-06 14:38:52 +0200
commitc289c25523496f58b81e061cea82757c99e99957 (patch)
treef85f43251ddfce0ea6aa23f46729139c04497b2c /connectivity/source/drivers/evoab2/NTables.cxx
parent07e87211c2b2e98fd176fef2018723b50c8dbb1a (diff)
loplugin:simplifyconstruct in canvas..cui
Change-Id: I02eba1df117a9d0df42bcac13c3251cb4fa6da14 Reviewed-on: https://gerrit.libreoffice.org/60074 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity/source/drivers/evoab2/NTables.cxx')
-rw-r--r--connectivity/source/drivers/evoab2/NTables.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/evoab2/NTables.cxx b/connectivity/source/drivers/evoab2/NTables.cxx
index b5b5e3f4fc1e..8acf5507033b 100644
--- a/connectivity/source/drivers/evoab2/NTables.cxx
+++ b/connectivity/source/drivers/evoab2/NTables.cxx
@@ -50,7 +50,7 @@ ObjectType OEvoabTables::createObject(const OUString& aName)
Reference< XResultSet > xResult = m_xMetaData->getTables(Any(),"%",aName,aTypes);
- ObjectType xRet = nullptr;
+ ObjectType xRet;
if(xResult.is())
{
Reference< XRow > xRow(xResult,UNO_QUERY);