summaryrefslogtreecommitdiff
path: root/connectivity/source/commontools/TIndexes.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/commontools/TIndexes.cxx')
-rw-r--r--connectivity/source/commontools/TIndexes.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/connectivity/source/commontools/TIndexes.cxx b/connectivity/source/commontools/TIndexes.cxx
index 5a8c7c29a0f4..b0998b5b3a79 100644
--- a/connectivity/source/commontools/TIndexes.cxx
+++ b/connectivity/source/commontools/TIndexes.cxx
@@ -101,10 +101,9 @@ sdbcx::ObjectType OIndexesHelper::createObject(const OUString& _rName)
catch(const Exception&)
{
}
- OIndexHelper* pRet = new OIndexHelper(m_pTable,aName,aQualifier,bUnique,
+ xRet = new OIndexHelper(m_pTable,aName,aQualifier,bUnique,
bPrimarKeyIndex,
nClustered == IndexType::CLUSTERED);
- xRet = pRet;
break;
}
}