summaryrefslogtreecommitdiff
path: root/connectivity/source/inc/file/FResultSet.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/inc/file/FResultSet.hxx')
-rw-r--r--connectivity/source/inc/file/FResultSet.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/inc/file/FResultSet.hxx b/connectivity/source/inc/file/FResultSet.hxx
index c0ae89dfd640..7bf87f6b4a30 100644
--- a/connectivity/source/inc/file/FResultSet.hxx
+++ b/connectivity/source/inc/file/FResultSet.hxx
@@ -142,7 +142,7 @@ namespace connectivity
sal_Bool bRetrieveData = sal_True);
OKeyValue* GetOrderbyKeyValue(OValueRefRow& _rRow);
- sal_Bool IsSorted() const { return !m_aOrderbyColumnNumber.empty() && m_aOrderbyColumnNumber[0] != SQL_COLUMN_NOTFOUND;}
+ sal_Bool IsSorted() const { return !m_aOrderbyColumnNumber.empty() && m_aOrderbyColumnNumber[0] >= 0;}
// return true when the select statement is "select count(*) from table"
inline sal_Bool isCount() const { return m_bIsCount; }