diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-06-18 13:06:45 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2013-06-18 13:06:45 +0200 |
commit | ed9f8387201b1b70ea14af47d25e9133c7bfcd3c (patch) | |
tree | de4e527e3e16a312605d0afc8db429be19bc4e30 /connectivity/source/parse | |
parent | 20499497b0c513f181d0a482c5b9e38c346a8aa1 (diff) |
Revert "fdo#65653, fdo#65619, fdo#65216: Missing check"
This reverts commit 10777b37536be16c6d2e167b59e9e31e37ba3517.
The problem has been fixed in a more safe way by making columnMatchP
treat the case where rParam.xField is not set instead of requiring
it from all callers.
Change-Id: Ic68a764e08446a7b669c6030c2bcd55c7d31772b
Diffstat (limited to 'connectivity/source/parse')
-rw-r--r-- | connectivity/source/parse/sqlnode.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/parse/sqlnode.cxx b/connectivity/source/parse/sqlnode.cxx index bcc72fc27472..07c2daf06518 100644 --- a/connectivity/source/parse/sqlnode.cxx +++ b/connectivity/source/parse/sqlnode.cxx @@ -755,7 +755,7 @@ void OSQLParseNode::impl_parseLikeNodeToString_throw( OUStringBuffer& rString, c SQLParseNodeParameter aNewParam(rParam); //aNewParam.bQuote = sal_True; // why setting this to true? @see http://www.openoffice.org/issues/show_bug.cgi?id=75557 - if (bSimple && (!rParam.xField.is() || !columnMatchP(m_aChildren[0], rParam))) + if (bSimple && !columnMatchP(m_aChildren[0], rParam)) m_aChildren[0]->impl_parseNodeToString_throw( rString, aNewParam, bSimple ); const OSQLParseNode* pPart2 = m_aChildren[1]; |