diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2009-08-25 13:53:16 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2009-08-25 13:53:16 +0000 |
commit | 546fcd1cb956034d0652b4b8a27ca9cab2300bf0 (patch) | |
tree | a4b11ad63bdc85868ff7b5651da0e119c920278a /sc/source/core/tool/chartpos.cxx | |
parent | a31d592bd1193b044df148e106d6d0c9de0939c5 (diff) |
CWS-TOOLING: integrate CWS koheicoderemoval02
2009-07-24 Kohei Yoshida Resurrected one method that was now used after the rebase. Now the entire sc module
builds.
2009-07-24 Kohei Yoshida Rebased to DEV300_m53.
2009-07-23 Kohei Yoshida resolved conflict during merge to DEV300_m52.
2009-05-09 Kohei Yoshida #i95953# partially applied Caolan's patch.
2009-05-09 Kohei Yoshida #i101326# Removed old pivot implementation code that was already disabled.
2009-05-09 Kohei Yoshida More unused methods commented out.
2009-05-09 Kohei Yoshida More unused methods commented out.
2009-05-08 Kohei Yoshida Removed more unused methods, mostly related to binfilter methods.
2009-05-08 Kohei Yoshida #i95953# the first round of unused method removal, based solely on Caolan's
list. All removed methods were double-checked manually to make sure they are
really unused, followed by a build test with debug on.
Diffstat (limited to 'sc/source/core/tool/chartpos.cxx')
-rw-r--r-- | sc/source/core/tool/chartpos.cxx | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/sc/source/core/tool/chartpos.cxx b/sc/source/core/tool/chartpos.cxx index fff3122052bd..9873ea42ff13 100644 --- a/sc/source/core/tool/chartpos.cxx +++ b/sc/source/core/tool/chartpos.cxx @@ -616,34 +616,34 @@ ScChartPositionMap::~ScChartPositionMap() } -ScRangeListRef ScChartPositionMap::GetColRanges( SCCOL nChartCol ) const -{ - ScRangeListRef xRangeList = new ScRangeList; - if ( nChartCol < nColCount ) - { - ULONG nStop = GetIndex( nChartCol, nRowCount ); - for ( ULONG nIndex = GetIndex( nChartCol, 0 ); nIndex < nStop; nIndex++ ) - { - if ( ppData[ nIndex ] ) - xRangeList->Join( *ppData[ nIndex ] ); - } - } - return xRangeList; -} - - -ScRangeListRef ScChartPositionMap::GetRowRanges( SCROW nChartRow ) const -{ - ScRangeListRef xRangeList = new ScRangeList; - if ( nChartRow < nRowCount ) - { - ULONG nStop = GetIndex( nColCount, nChartRow ); - for ( ULONG nIndex = GetIndex( 0, nChartRow ); nIndex < nStop; - nIndex += nRowCount ) - { - if ( ppData[ nIndex ] ) - xRangeList->Join( *ppData[ nIndex ] ); - } - } - return xRangeList; -} +//UNUSED2009-05 ScRangeListRef ScChartPositionMap::GetColRanges( SCCOL nChartCol ) const +//UNUSED2009-05 { +//UNUSED2009-05 ScRangeListRef xRangeList = new ScRangeList; +//UNUSED2009-05 if ( nChartCol < nColCount ) +//UNUSED2009-05 { +//UNUSED2009-05 ULONG nStop = GetIndex( nChartCol, nRowCount ); +//UNUSED2009-05 for ( ULONG nIndex = GetIndex( nChartCol, 0 ); nIndex < nStop; nIndex++ ) +//UNUSED2009-05 { +//UNUSED2009-05 if ( ppData[ nIndex ] ) +//UNUSED2009-05 xRangeList->Join( *ppData[ nIndex ] ); +//UNUSED2009-05 } +//UNUSED2009-05 } +//UNUSED2009-05 return xRangeList; +//UNUSED2009-05 } + + +//UNUSED2009-05 ScRangeListRef ScChartPositionMap::GetRowRanges( SCROW nChartRow ) const +//UNUSED2009-05 { +//UNUSED2009-05 ScRangeListRef xRangeList = new ScRangeList; +//UNUSED2009-05 if ( nChartRow < nRowCount ) +//UNUSED2009-05 { +//UNUSED2009-05 ULONG nStop = GetIndex( nColCount, nChartRow ); +//UNUSED2009-05 for ( ULONG nIndex = GetIndex( 0, nChartRow ); nIndex < nStop; +//UNUSED2009-05 nIndex += nRowCount ) +//UNUSED2009-05 { +//UNUSED2009-05 if ( ppData[ nIndex ] ) +//UNUSED2009-05 xRangeList->Join( *ppData[ nIndex ] ); +//UNUSED2009-05 } +//UNUSED2009-05 } +//UNUSED2009-05 return xRangeList; +//UNUSED2009-05 } |