diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-17 08:12:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-17 09:56:19 +0200 |
commit | 2c06083c75cca66885c356520b5a83b4a722796b (patch) | |
tree | 0c72522ed8c7e7bed20f9e0171d939a997b01dbd /connectivity/source | |
parent | 72356f947b096fc4cc89f1b07ce5ee55047813b0 (diff) |
remove unused NONE from TAscendingOrder enum
Change-Id: I31c793df40b2a687b4a6c84854f34aba72ac0494
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 }; |