From 7e53e4596a9460fb3d4750f6cf51f8d9f03e2544 Mon Sep 17 00:00:00 2001 From: "Ocke Janssen [oj]" Date: Thu, 27 May 2010 08:38:58 +0200 Subject: dba33f: #i107654# like corrected --- connectivity/source/drivers/file/fcomp.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'connectivity') diff --git a/connectivity/source/drivers/file/fcomp.cxx b/connectivity/source/drivers/file/fcomp.cxx index b73fcf559cce..0588b15a158f 100644 --- a/connectivity/source/drivers/file/fcomp.cxx +++ b/connectivity/source/drivers/file/fcomp.cxx @@ -294,8 +294,8 @@ OOperand* OPredicateCompiler::execute_LIKE(OSQLParseNode* pPredicateNode) throw( sal_Unicode cEscape = L'\0'; const bool bNotLike = pPart2->getChild(0)->isToken(); - OSQLParseNode* pAtom = pPart2->getChild(pPredicateNode->count()-2); - OSQLParseNode* pOptEscape = pPart2->getChild(pPredicateNode->count()-1); + OSQLParseNode* pAtom = pPart2->getChild(pPart2->count()-2); + OSQLParseNode* pOptEscape = pPart2->getChild(pPart2->count()-1); if (!(pAtom->getNodeType() == SQL_NODE_STRING || SQL_ISRULE(pAtom,parameter))) { -- cgit