diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2011-10-30 13:34:01 +0100 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2011-10-30 13:37:02 +0100 |
commit | 6efdf794cdd0c979ffead0e5051309f711b23997 (patch) | |
tree | 9ba7eebdcd64e9d85c7543ef6547204824996cc1 /connectivity/source/parse | |
parent | add const (diff) | |
download | core-6efdf794cdd0c979ffead0e5051309f711b23997.tar.gz core-6efdf794cdd0c979ffead0e5051309f711b23997.zip |
factorise multiple SQL_ISRULEOR2 implementations into one
Diffstat (limited to 'connectivity/source/parse')
-rw-r--r-- | connectivity/source/parse/sqliterator.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/connectivity/source/parse/sqliterator.cxx b/connectivity/source/parse/sqliterator.cxx index 0c3b6a0cd958..325523c9f8e4 100644 --- a/connectivity/source/parse/sqliterator.cxx +++ b/connectivity/source/parse/sqliterator.cxx @@ -51,10 +51,6 @@ #include "diagnose_ex.h" #include <rtl/logfile.hxx> -#define SQL_ISRULEOR2(pParseNode, e1,e2) ((pParseNode)->isRule() && (\ - (pParseNode)->getRuleID() == OSQLParser::RuleID(OSQLParseNode::e1) || \ - (pParseNode)->getRuleID() == OSQLParser::RuleID(OSQLParseNode::e2))) - using namespace ::comphelper; using namespace ::connectivity; using namespace ::connectivity::sdbcx; |