summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/file/FColumns.cxx
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-02-22 10:48:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-02-22 13:37:53 +0100
commitdffe94959ada5297c7c719497395f5dfe66c4d2f (patch)
tree31df661be83710232caef059baae0ab745449056 /connectivity/source/drivers/file/FColumns.cxx
parent2a8e84448ce2a5603f9134ee830c389dbc4fd6b6 (diff)
loplugin:refcounting in connectivity
Change-Id: Iff2f096e7ee00d9cb29d47462dd7e1963c6b06e0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111302 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity/source/drivers/file/FColumns.cxx')
-rw-r--r--connectivity/source/drivers/file/FColumns.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/connectivity/source/drivers/file/FColumns.cxx b/connectivity/source/drivers/file/FColumns.cxx
index e703112f71c4..1b90385bf9c0 100644
--- a/connectivity/source/drivers/file/FColumns.cxx
+++ b/connectivity/source/drivers/file/FColumns.cxx
@@ -48,7 +48,7 @@ sdbcx::ObjectType OColumns::createObject(const OUString& _rName)
{
if(xRow->getString(4) == _rName)
{
- sdbcx::OColumn* pRet = new sdbcx::OColumn(_rName,
+ xRet = new sdbcx::OColumn(_rName,
xRow->getString(6),
xRow->getString(13),
xRow->getString(12),
@@ -63,7 +63,6 @@ sdbcx::ObjectType OColumns::createObject(const OUString& _rName)
sCatalogName,
sSchemaName,
sTableName);
- xRet = pRet;
break;
}
}