diff options
author | Rüdiger Timm <rt@openoffice.org> | 2008-06-16 11:11:05 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2008-06-16 11:11:05 +0000 |
commit | 45c9be823f1079602670902cb124b0445754f7fa (patch) | |
tree | df2eb61757b0c90c044768bd7b1d07c3444d33a6 | |
parent | 9411f1a4b7bdb9e96cdb4f221928433f65d888e1 (diff) |
INTEGRATION: CWS rptchart02 (1.10.18); FILE MERGED
2008/05/23 08:26:42 oj 1.10.18.1: #i84290# change sql rule table_ref
-rw-r--r-- | connectivity/source/drivers/evoab2/NStatement.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/connectivity/source/drivers/evoab2/NStatement.cxx b/connectivity/source/drivers/evoab2/NStatement.cxx index 8d0ad24cedcb..5f578ec88c3f 100644 --- a/connectivity/source/drivers/evoab2/NStatement.cxx +++ b/connectivity/source/drivers/evoab2/NStatement.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: NStatement.cxx,v $ - * $Revision: 1.10 $ + * $Revision: 1.11 $ * * This file is part of OpenOffice.org. * @@ -403,9 +403,8 @@ rtl::OUString OStatement_Base::getTableName() OSQLParseNode *pNodeForTableName = pAllTableNames->getChild( 0 )->getChild( 0 ); if( m_aSQLIterator.isTableNode( pNodeForTableName ) ) { - if( pAllTableNames->getChild( 0 )->count() == 4 ) - aTableName = pAllTableNames->getChild( 0 )->getChild( 2 )->getTokenValue(); - else + aTableName = getTableRange(pAllTableNames->getChild( 0 )); + if( !aTableName.getLength() ) OSQLParseNode::getTableComponents( pNodeForTableName, aCatalog, aSchema, aTableName); } else |