summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/file
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-23 10:20:13 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-24 06:53:50 +0000
commit5785d6022bff839dc930f5d20b79afcc79808ac5 (patch)
treefcedfa983f5e47fd70ee85ce015c48afb587284f /connectivity/source/drivers/file
parent93e61f9663df7e3986d88d6cb7db795af96a11b4 (diff)
Convert OKeyType to scoped enum
Change-Id: Ic604991cdc0bf3e6dc5604a4a2b33f62b92f0915 Reviewed-on: https://gerrit.libreoffice.org/25355 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'connectivity/source/drivers/file')
-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 9b130c98a11e..baa6cca0117c 100644
--- a/connectivity/source/drivers/file/FResultSet.cxx
+++ b/connectivity/source/drivers/file/FResultSet.cxx
@@ -1131,7 +1131,7 @@ void OResultSet::sortRows()
case DataType::CHAR:
case DataType::VARCHAR:
case DataType::LONGVARCHAR:
- eKeyType[i] = SQL_ORDERBYKEY_STRING;
+ eKeyType[i] = OKeyType::String;
break;
case DataType::OTHER:
@@ -1146,12 +1146,12 @@ void OResultSet::sortRows()
case DataType::TIME:
case DataType::TIMESTAMP:
case DataType::BIT:
- eKeyType[i] = SQL_ORDERBYKEY_DOUBLE;
+ eKeyType[i] = OKeyType::Double;
break;
// Other types aren't implemented (so they are always FALSE)
default:
- eKeyType[i] = SQL_ORDERBYKEY_NONE;
+ eKeyType[i] = OKeyType::NONE;
SAL_WARN( "connectivity.drivers","OFILECursor::Execute: Datentyp nicht implementiert");
break;
}