summaryrefslogtreecommitdiff
path: root/connectivity/source/commontools/TColumnsHelper.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-07-19 09:51:02 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-07-19 13:28:41 +0200
commit242e1c42d975b2d8729cd150cf104b177033760a (patch)
treea44512de3ad3cb5a59cf3b658752dfe154ba5aa0 /connectivity/source/commontools/TColumnsHelper.cxx
parentee2bb231036b1d9d954dec369855948e6ea1f53a (diff)
loplugin:referencecasting in comphelper..connectivity
Change-Id: I21896885c29e9ab58ebab17b59f1480c6a06fb38 Reviewed-on: https://gerrit.libreoffice.org/75936 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity/source/commontools/TColumnsHelper.cxx')
-rw-r--r--connectivity/source/commontools/TColumnsHelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/commontools/TColumnsHelper.cxx b/connectivity/source/commontools/TColumnsHelper.cxx
index 6155ec09443b..b5f6eba0e160 100644
--- a/connectivity/source/commontools/TColumnsHelper.cxx
+++ b/connectivity/source/commontools/TColumnsHelper.cxx
@@ -137,14 +137,14 @@ sdbcx::ObjectType OColumnsHelper::createObject(const OUString& _rName)
else
{
- xRet.set(::dbtools::createSDBCXColumn( m_pTable,
+ xRet = ::dbtools::createSDBCXColumn( m_pTable,
xConnection,
_rName,
isCaseSensitive(),
bQueryInfo,
bAutoIncrement,
bIsCurrency,
- nDataType),UNO_QUERY);
+ nDataType);
}
return xRet;
}