Tag: cws_dev300_rptchart02
User: oj      
Date: 2008-05-27 08:58:51+0000
Modified:
   dba/connectivity/source/parse/sqlnode.cxx

Log:
 #i84290# correct range var of table

File Changes:

Directory: /dba/connectivity/source/parse/
==========================================

File [changed]: sqlnode.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/parse/sqlnode.cxx?r1=1.54.18.3&r2=1.54.18.4
Delta lines:  +3 -3
-------------------
--- sqlnode.cxx 2008-05-23 08:41:45+0000        1.54.18.3
+++ sqlnode.cxx 2008-05-27 08:58:48+0000        1.54.18.4
@@ -7,7 +7,7 @@
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: sqlnode.cxx,v $
- * $Revision: 1.54.18.3 $
+ * $Revision: 1.54.18.4 $
  *
  * This file is part of OpenOffice.org.
  *
@@ -655,7 +655,7 @@
 {
     OSL_PRECOND(  ( count() == 2 ) || ( count() == 3 ) || ( count() == 5 ) 
,"Illegal count");
        
-       rString += ::rtl::OUString::createFromAscii(" ");
+       // rString += ::rtl::OUString::createFromAscii(" ");
     ::std::for_each(m_aChilds.begin(),m_aChilds.end(),
         boost::bind( &OSQLParseNode::impl_parseNodeToString_throw, _1, 
boost::ref( rString ), boost::cref( rParam ) ));
 }
@@ -2565,7 +2565,7 @@
                           || pNode->getKnownRuleID() == 
OSQLParseNode::range_variable) 
                          ,"SQL grammar changed!");
         if ( !pNode->isLeaf() )
-            sTableRange = pNode->getChild(pNode->count() - 1)->getTokenValue();
+            sTableRange = pNode->getChild(1)->getTokenValue();
     } // if ( nCount == 2 || nCount == 3 || nCount == 5)
 
     return sTableRange;




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to