diff options
author | Joseph Powers <jpowers27@cox.net> | 2010-12-09 22:21:29 -0800 |
---|---|---|
committer | Joseph Powers <jpowers27@cox.net> | 2010-12-10 05:11:13 -0800 |
commit | f53607a4471c4c5d2d9a88e82382bd1881df9106 (patch) | |
tree | f0dcf4b733b03e4b8e3c793527526068e03acc03 /sc/source/filter/excel/xecontent.cxx | |
parent | 628ac2e623a717125c93fe5b4319da90287f2009 (diff) |
Remove DECLARE_LIST( ScRangePairList )
Diffstat (limited to 'sc/source/filter/excel/xecontent.cxx')
-rw-r--r-- | sc/source/filter/excel/xecontent.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xecontent.cxx b/sc/source/filter/excel/xecontent.cxx index 408ba722b7bb..12268daa05f9 100644 --- a/sc/source/filter/excel/xecontent.cxx +++ b/sc/source/filter/excel/xecontent.cxx @@ -592,8 +592,9 @@ XclExpLabelranges::XclExpLabelranges( const XclExpRoot& rRoot ) : void XclExpLabelranges::FillRangeList( ScRangeList& rScRanges, ScRangePairListRef xLabelRangesRef, SCTAB nScTab ) { - for( const ScRangePair* pRangePair = xLabelRangesRef->First(); pRangePair; pRangePair = xLabelRangesRef->Next() ) + for ( size_t i = 0, nPairs = xLabelRangesRef->size(); i < nPairs; ++i ) { + ScRangePair* pRangePair = xLabelRangesRef->at( i ); const ScRange& rScRange = pRangePair->GetRange( 0 ); if( rScRange.aStart.Tab() == nScTab ) rScRanges.Append( rScRange ); |