diff options
Diffstat (limited to 'connectivity/source/drivers/file/fcode.cxx')
-rw-r--r-- | connectivity/source/drivers/file/fcode.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/connectivity/source/drivers/file/fcode.cxx b/connectivity/source/drivers/file/fcode.cxx index 96793912a33e..e4c14261fa2d 100644 --- a/connectivity/source/drivers/file/fcode.cxx +++ b/connectivity/source/drivers/file/fcode.cxx @@ -305,12 +305,7 @@ bool OOp_COMPARE::operate(const OOperand* pLeft, const OOperand* pRight) const case DataType::LONGVARCHAR: { OUString sLH = aLH, sRH = aRH; - sal_Int32 nRes = rtl_ustr_compareIgnoreAsciiCase_WithLength - ( - sLH.pData->buffer, - sLH.pData->length, - sRH.pData->buffer, - sRH.pData->length ); + sal_Int32 nRes = sLH.compareToIgnoreAsciiCase(sRH); switch(aPredicateType) { case SQLFilterOperator::EQUAL: bResult = (nRes == 0); break; |