Remove another DECLARE_LIST() from Calc

Signed-off-by: Kohei Yoshida <kyoshida@novell.com>
This commit is contained in:
Joseph Powers
2010-12-08 22:38:24 -08:00
committed by Kohei Yoshida
parent bf9ed0595b
commit 6eefbb4bee
70 changed files with 689 additions and 970 deletions

View File

@@ -1177,12 +1177,12 @@ uno::Reference< excel::XRange > lclCreateVbaRange(
for( ListOfScRange::const_iterator aIt = rList.begin(), aEnd = rList.end(); aIt != aEnd; ++aIt )
aCellRanges.Append( *aIt );
if( aCellRanges.Count() == 1 )
if( aCellRanges.size() == 1 )
{
uno::Reference< table::XCellRange > xRange( new ScCellRangeObj( pDocShell, *aCellRanges.First() ) );
uno::Reference< table::XCellRange > xRange( new ScCellRangeObj( pDocShell, *aCellRanges.front() ) );
return new ScVbaRange( excel::getUnoSheetModuleObj( xRange ), rxContext, xRange );
}
if( aCellRanges.Count() > 1 )
if( aCellRanges.size() > 1 )
{
uno::Reference< sheet::XSheetCellRangeContainer > xRanges( new ScCellRangesObj( pDocShell, aCellRanges ) );
return new ScVbaRange( excel::getUnoSheetModuleObj( xRanges ), rxContext, xRanges );