diff options
Diffstat (limited to 'connectivity/source')
-rw-r--r-- | connectivity/source/drivers/dbase/DResultSet.cxx | 5 | ||||
-rw-r--r-- | connectivity/source/inc/TSortIndex.hxx | 1 |
2 files changed, 1 insertions, 5 deletions
diff --git a/connectivity/source/drivers/dbase/DResultSet.cxx b/connectivity/source/drivers/dbase/DResultSet.cxx index cc133550114f..af17e616f5fa 100644 --- a/connectivity/source/drivers/dbase/DResultSet.cxx +++ b/connectivity/source/drivers/dbase/DResultSet.cxx @@ -170,10 +170,7 @@ bool ODbaseResultSet::fillIndexValues(const Reference< XColumnsSupplier> &_xInde sal_uInt32 nRec = pIter->First(); while (nRec != NODE_NOTFOUND) { - if (m_aOrderbyAscending[0] != TAscendingOrder::NONE) - m_pFileSet->get().push_back(nRec); - else - m_pFileSet->get().insert(m_pFileSet->get().begin(),nRec); + m_pFileSet->get().push_back(nRec); nRec = pIter->Next(); } m_pFileSet->setFrozen(); diff --git a/connectivity/source/inc/TSortIndex.hxx b/connectivity/source/inc/TSortIndex.hxx index 599e8f7209c8..be1a04dd6026 100644 --- a/connectivity/source/inc/TSortIndex.hxx +++ b/connectivity/source/inc/TSortIndex.hxx @@ -34,7 +34,6 @@ namespace connectivity enum class TAscendingOrder { ASC = 1, // ascending - NONE = 0, DESC = -1 // otherwise }; |