From d67a370f7bd9efffe564b98f80ad3cd039490a47 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 2 Feb 2015 09:50:57 +0000 Subject: coverity#1267656 Logically dead code Change-Id: I37c59a0bc2d7a62535f4f4951f8378c291f2affa --- connectivity/source/drivers/evoab2/NStatement.cxx | 3 --- 1 file changed, 3 deletions(-) (limited to 'connectivity/source/drivers') diff --git a/connectivity/source/drivers/evoab2/NStatement.cxx b/connectivity/source/drivers/evoab2/NStatement.cxx index 6436af471214..546384ac1b10 100644 --- a/connectivity/source/drivers/evoab2/NStatement.cxx +++ b/connectivity/source/drivers/evoab2/NStatement.cxx @@ -393,9 +393,6 @@ EBookQuery *OCommonStatement::whereAnalysis( const OSQLParseNode* parseTree ) pResult = createTest( aColumnName, E_BOOK_QUERY_BEGINS_WITH, aMatchString.copy( 0, aMatchString.getLength() - 1 ) ); else m_pConnection->throwGenericSQLException(STR_QUERY_LIKE_WILDCARD,*this); - - if( pResult && bNotLike ) - pResult = e_book_query_not( pResult, TRUE ); } else if( aMatchString.getLength() >= 3 && aMatchString.startsWith( OUString(WILDCARD) ) && -- cgit