diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-11-01 20:03:06 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-11-01 20:16:53 -0400 |
commit | 1c2ef32a78e1b59a7cb49218d78cf5abc70c8518 (patch) | |
tree | 1729746e0fed50a8b9b4a18ffccb64a0b4a556a8 | |
parent | 79979dd23104bf35aaa18bc3e80449fe5537499c (diff) |
Now this bConsecutive flag makes no sense.
Treat as if this flag is always false.
Change-Id: Ie1364ac54f95263aa316bf81f631e607843934d5
-rw-r--r-- | sc/source/core/data/column.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx index b1f81af4b9ca..14e01f728a90 100644 --- a/sc/source/core/data/column.cxx +++ b/sc/source/core/data/column.cxx @@ -1481,7 +1481,6 @@ void ScColumn::MoveTo(SCROW nStartRow, SCROW nEndRow, ScColumn& rCol) return; ::std::vector<SCROW> aRows; - bool bConsecutive = true; SCSIZE i; Search( nStartRow, i); // i points to start row or position thereafter SCSIZE nStartPos = i; @@ -1498,9 +1497,6 @@ void ScColumn::MoveTo(SCROW nStartRow, SCROW nEndRow, ScColumn& rCol) typedef ::std::pair<SCSIZE,SCSIZE> PosPair; typedef ::std::vector<PosPair> EntryPosPairs; EntryPosPairs aEntries; - if (bConsecutive) - aEntries.push_back( PosPair(nStartPos, nStopPos)); - else { bool bFirst = true; nStopPos = 0; |