diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2010-12-10 16:07:50 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2010-12-10 16:08:27 -0500 |
commit | 75c0b752865ac42b9c70c9588f995a86a0e62a22 (patch) | |
tree | e49689b021486a899914e05355553e9fecdcf4ba /sc/source/core/tool/chartpos.cxx | |
parent | f6136ef422ae27f536629e128dff2bf34daa01d5 (diff) |
Removed ScRangeList::at() in favor of operator[].
Diffstat (limited to 'sc/source/core/tool/chartpos.cxx')
-rw-r--r-- | sc/source/core/tool/chartpos.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/core/tool/chartpos.cxx b/sc/source/core/tool/chartpos.cxx index e689546968a9..06d508308981 100644 --- a/sc/source/core/tool/chartpos.cxx +++ b/sc/source/core/tool/chartpos.cxx @@ -144,7 +144,7 @@ void ScChartPositioner::GlueState() if ( (n2 = pR->aEnd.Row() ) > nEndRow ) nEndRow = static_cast<SCROW>(n2 ); if ( (nTmp = n2 - n1 + 1 ) > nMaxRows ) nMaxRows = static_cast<SCROW>(nTmp); if ( i < nRanges ) // in last pass; i = nRanges so don't use at() - pR = aRangeListRef->at( i ); + pR = (*aRangeListRef)[i]; } SCCOL nC = nEndCol - nStartCol + 1; if ( nC == 1 ) @@ -196,7 +196,7 @@ void ScChartPositioner::GlueState() SCROW nRow, nRow1, nRow2; for ( size_t i = 0, nRanges = aRangeListRef->size(); i < nRanges; ++i ) { // Selektionen 2D als belegt markieren - pR = aRangeListRef->at( i ); + pR = (*aRangeListRef)[i]; nCol1 = pR->aStart.Col() - nStartCol; nCol2 = pR->aEnd.Col() - nStartCol; nRow1 = pR->aStart.Row() - nStartRow; @@ -326,7 +326,7 @@ void ScChartPositioner::CheckColRowHeaders() ++i ) { - ScRange* pR = aRangeListRef->at( i ); + ScRange* pR = (*aRangeListRef)[i]; pR->GetVars( nCol1, nRow1, nTab1, nCol2, nRow2, nTab2 ); BOOL bTopRow = (nRow1 == nStartRow); if ( bRowStrings && (bVert || nCol1 == nStartCol) ) @@ -397,7 +397,7 @@ void ScChartPositioner::CreatePositionMap() SCROW nNoGlueRow = 0; for ( size_t i = 0, nRanges = aRangeListRef->size(); i < nRanges; ++i ) { - ScRange* pR = aRangeListRef->at( i ); + ScRange* pR = (*aRangeListRef)[i]; pR->GetVars( nCol1, nRow1, nTab1, nCol2, nRow2, nTab2 ); for ( nTab = nTab1; nTab <= nTab2; nTab++ ) { |