summaryrefslogtreecommitdiff
path: root/connectivity/inc
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2013-03-04 10:48:55 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2013-03-04 11:09:25 +0100
commit8f113d08cebd7529e62f928fbf71f36df9ec748e (patch)
tree09c949bb002cc8806027063a81092925274f4527 /connectivity/inc
parent7ad376c6a60695d896cca4929c7aede207328cfd (diff)
coverity: merge traverse{OR,AND}Criteria into traverseSearchCondition
Meaning, these two functions have the same behaviour, they produce the same output (and side-effects) when called on the same input. traverseORCriteria handles only the actual "foo OR bar" case, and hands off all other cases to traverseANDCriteria. But, lo and behold, traverseANDCriteria also handles the "foo OR bar" case, in the same manner! Change-Id: I10410e88ce48852b60d1d688fe2865923de9d80b
Diffstat (limited to 'connectivity/inc')
-rw-r--r--connectivity/inc/connectivity/sqliterator.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/connectivity/inc/connectivity/sqliterator.hxx b/connectivity/inc/connectivity/sqliterator.hxx
index 5da60c28c90a..261607030685 100644
--- a/connectivity/inc/connectivity/sqliterator.hxx
+++ b/connectivity/inc/connectivity/sqliterator.hxx
@@ -72,8 +72,7 @@ namespace connectivity
void traverseParameter(const OSQLParseNode* _pParseNode,const OSQLParseNode* _pColumnRef,const ::rtl::OUString& _aColumnName, ::rtl::OUString& _aTableRange, const ::rtl::OUString& _rColumnAlias);
// inserts a table into the map
void traverseOneTableName( OSQLTables& _rTables,const OSQLParseNode * pTableName, const ::rtl::OUString & rTableRange );
- void traverseORCriteria(OSQLParseNode * pSearchCondition);
- void traverseANDCriteria(OSQLParseNode * pSearchCondition);
+ void traverseSearchCondition(OSQLParseNode * pSearchCondition);
void traverseOnePredicate(
OSQLParseNode * pColumnRef,
::rtl::OUString& aValue,