diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-09-13 07:35:15 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2013-09-13 12:08:04 +0200 |
commit | 974d73d219e344350522f8c3da8c38cda6ddbd4d (patch) | |
tree | 5377841c71bc7ed28e18c42067bf00b77e6c0087 | |
parent | 7b4b3ad8c6f84177247f4e88c10b5473b8a9c39a (diff) |
remove an arbitrary level of nested parentheses
not only one.
Change-Id: I1f611dda6a98fb6244409c0cd1fc87fc9dfaa8c3
-rw-r--r-- | connectivity/source/parse/sqliterator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/parse/sqliterator.cxx b/connectivity/source/parse/sqliterator.cxx index 4cd8c6557426..3bb5efb2b979 100644 --- a/connectivity/source/parse/sqliterator.cxx +++ b/connectivity/source/parse/sqliterator.cxx @@ -985,7 +985,7 @@ bool OSQLParseTreeIterator::traverseSelectColumnNames(const OSQLParseNode* pSele sal_Int32 nType = DataType::VARCHAR; sal_Bool bFkt(sal_False); pColumnRef = pColumnRef->getChild(0); - if ( + while ( pColumnRef->getKnownRuleID() != OSQLParseNode::subquery && pColumnRef->count() == 3 && SQL_ISPUNCTUATION(pColumnRef->getChild(0),"(") && |