summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/file/FResultSet.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/file/FResultSet.cxx')
-rw-r--r--connectivity/source/drivers/file/FResultSet.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/drivers/file/FResultSet.cxx b/connectivity/source/drivers/file/FResultSet.cxx
index f2610657bf07..5d5abc50afb1 100644
--- a/connectivity/source/drivers/file/FResultSet.cxx
+++ b/connectivity/source/drivers/file/FResultSet.cxx
@@ -149,7 +149,7 @@ void OResultSet::disposing()
m_pTable.clear();
m_pFileSet = nullptr;
- DELETEZ(m_pSortIndex);
+ m_pSortIndex.reset();
if(m_aInsertRow.is())
m_aInsertRow->get().clear();
@@ -1147,7 +1147,7 @@ void OResultSet::sortRows()
++i;
}
- m_pSortIndex = new OSortIndex(eKeyType,m_aOrderbyAscending);
+ m_pSortIndex.reset(new OSortIndex(eKeyType,m_aOrderbyAscending));
while ( ExecuteRow( IResultSetHelper::NEXT, 1, false ) )
{
@@ -1161,7 +1161,7 @@ void OResultSet::sortRows()
// create sorted Keyset
m_pFileSet = nullptr;
m_pFileSet = m_pSortIndex->CreateKeySet();
- DELETEZ(m_pSortIndex);
+ m_pSortIndex.reset();
// now access to a sorted set is possible via Index
}