summaryrefslogtreecommitdiff
path: root/connectivity/source/commontools/TIndexColumns.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/commontools/TIndexColumns.cxx')
-rw-r--r--connectivity/source/commontools/TIndexColumns.cxx21
1 files changed, 10 insertions, 11 deletions
diff --git a/connectivity/source/commontools/TIndexColumns.cxx b/connectivity/source/commontools/TIndexColumns.cxx
index bbb5ca706f20..1db4426c1888 100644
--- a/connectivity/source/commontools/TIndexColumns.cxx
+++ b/connectivity/source/commontools/TIndexColumns.cxx
@@ -82,17 +82,16 @@ sdbcx::ObjectType OIndexColumns::createObject(const OUString& _rName)
sal_Int32 nNull = xRow->getInt(11);
OUString aColumnDef(xRow->getString(13));
- OIndexColumn* pRet = new OIndexColumn(bAsc,
- _rName,
- aTypeName,
- aColumnDef,
- nNull,
- nSize,
- nDec,
- nDataType,
- true,
- aCatalog, aSchema, aTable);
- xRet = pRet;
+ xRet = new OIndexColumn(bAsc,
+ _rName,
+ aTypeName,
+ aColumnDef,
+ nNull,
+ nSize,
+ nDec,
+ nDataType,
+ true,
+ aCatalog, aSchema, aTable);
break;
}
}