summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2013-09-13 07:19:37 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2013-09-13 12:08:03 +0200
commit7b4b3ad8c6f84177247f4e88c10b5473b8a9c39a (patch)
tree0aea924e5a2d9c90ce467e6caa2e8e040fbea92e /include
parent6a1ad344a8100b7fe807383356128aa8ee82b6d5 (diff)
Don't clobber argument on failure
Change-Id: I709305d4ec3c37d3fc1c2c911551174f8cfbb883
Diffstat (limited to 'include')
-rw-r--r--include/connectivity/sqliterator.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/connectivity/sqliterator.hxx b/include/connectivity/sqliterator.hxx
index b9a1b6c67834..03b12de251f9 100644
--- a/include/connectivity/sqliterator.hxx
+++ b/include/connectivity/sqliterator.hxx
@@ -272,7 +272,7 @@ namespace connectivity
OUString& _rTableRange);
// empty if ambiguous
- sal_Bool getColumnTableRange(const OSQLParseNode* pNode, OUString &rTableRange) const;
+ bool getColumnTableRange(const OSQLParseNode* pNode, OUString &rTableRange) const;
// return true when the tableNode is a rule like catalog_name, schema_name or table_name
sal_Bool isTableNode(const OSQLParseNode* _pTableNode) const;
@@ -284,6 +284,9 @@ namespace connectivity
::std::vector< TNodePair >& getJoinConditions() const;
private:
+ // helper to implement getColumnTableRange
+ bool impl_getColumnTableRange(const OSQLParseNode* pNode, OUString &rTableRange) const;
+
/** traverses the list of table names, and filles _rTables
*/
bool traverseTableNames( OSQLTables& _rTables );