Tag: cws_dev300_dba30c User: oj Date: 2008-05-06 09:05:16+0000 Modified: dba/connectivity/source/commontools/TTableHelper.cxx
Log: shadow var File Changes: Directory: /dba/connectivity/source/commontools/ ================================================ File [changed]: TTableHelper.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/commontools/TTableHelper.cxx?r1=1.9.10.1&r2=1.9.10.2 Delta lines: +5 -5 ------------------- --- TTableHelper.cxx 2008-05-05 10:57:50+0000 1.9.10.1 +++ TTableHelper.cxx 2008-05-06 09:05:13+0000 1.9.10.2 @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: TTableHelper.cxx,v $ - * $Revision: 1.9.10.1 $ + * $Revision: 1.9.10.2 $ * * This file is part of OpenOffice.org. * @@ -257,13 +257,13 @@ if ( xRow.is() ) { - ::rtl::OUString aName,aCatalog,aSchema; + ::rtl::OUString aName,sCatalog,aSchema; while( xResult->next() ) { // this must be outsid the "if" because we have to call in a right order - aCatalog = xRow->getString(1); + sCatalog = xRow->getString(1); if ( xRow->wasNull() ) - aCatalog = ::rtl::OUString(); + sCatalog = ::rtl::OUString(); aSchema = xRow->getString(2); aName = xRow->getString(3); @@ -277,7 +277,7 @@ if ( sFkName.getLength() && !xRow->wasNull() ) { ::rtl::OUString sReferencedName; - sReferencedName = ::dbtools::composeTableName(getMetaData(),aCatalog,aSchema,aName,sal_False,::dbtools::eInDataManipulation); + sReferencedName = ::dbtools::composeTableName(getMetaData(),sCatalog,aSchema,aName,sal_False,::dbtools::eInDataManipulation); m_aKeys.insert(TKeyMap::value_type(sFkName,sdbcx::TKeyProperties(new sdbcx::KeyProperties(sReferencedName,KeyType::FOREIGN,nUpdateRule,nDeleteRule)))); _rNames.push_back(sFkName); } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
