summaryrefslogtreecommitdiff
path: root/connectivity/source/commontools/TIndexColumns.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/commontools/TIndexColumns.cxx')
-rw-r--r--connectivity/source/commontools/TIndexColumns.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/connectivity/source/commontools/TIndexColumns.cxx b/connectivity/source/commontools/TIndexColumns.cxx
index fcddb7f4caec..2d83fa7b2908 100644
--- a/connectivity/source/commontools/TIndexColumns.cxx
+++ b/connectivity/source/commontools/TIndexColumns.cxx
@@ -60,11 +60,10 @@ sdbcx::ObjectType OIndexColumns::createObject(const OUString& _rName)
if ( xResult.is() )
{
Reference< XRow > xRow(xResult,UNO_QUERY);
- OUString aD("D");
while( xResult->next() )
{
if(xRow->getString(9) == _rName)
- bAsc = xRow->getString(10) != aD;
+ bAsc = xRow->getString(10) != "D";
}
}