diff options
Diffstat (limited to 'connectivity/source/drivers/mork/MResultSet.cxx')
-rw-r--r-- | connectivity/source/drivers/mork/MResultSet.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/mork/MResultSet.cxx b/connectivity/source/drivers/mork/MResultSet.cxx index 163054e46110..99f7275559a8 100644 --- a/connectivity/source/drivers/mork/MResultSet.cxx +++ b/connectivity/source/drivers/mork/MResultSet.cxx @@ -875,8 +875,8 @@ void OResultSet::analyseWhereClause( const OSQLParseNode* parseT matchString = parseTree->getChild(2)->getTokenValue(); } - if ( columnName.compareToAscii("0") ==0 && op == MQueryOp::Is && - matchString.compareToAscii("1") == 0 ) { + if ( columnName.equalsAscii("0") && op == MQueryOp::Is && + matchString.equalsAscii("1") ) { OSL_TRACE("Query always evaluates to FALSE"); m_bIsAlwaysFalseQuery = sal_True; } |