summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-11-01 18:52:24 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-11-01 20:16:53 -0400
commit79979dd23104bf35aaa18bc3e80449fe5537499c (patch)
treea3eda03a3538832aa9ea132500ebfd9bc093e60b /sc/source
parent1f422ffb23747cdc16dbeca5d0222d66fbab383c (diff)
This if statement is never true.
SCROW nRow = maItems[i].nRow; and nRow will never be modified afterwards. So if (nRow != maItems[i].nRow) is never true. Change-Id: I4f867a704d50138aee8c5e7f37464880470098c2
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/core/data/column.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx
index ffff6574dc5e..b1f81af4b9ca 100644
--- a/sc/source/core/data/column.cxx
+++ b/sc/source/core/data/column.cxx
@@ -1490,11 +1490,6 @@ void ScColumn::MoveTo(SCROW nStartRow, SCROW nEndRow, ScColumn& rCol)
SCROW nRow = maItems[i].nRow;
aRows.push_back( nRow);
rCol.Insert( nRow, maItems[i].pCell);
- if (nRow != maItems[i].nRow)
- { // Listener inserted
- bConsecutive = false;
- Search( nRow, i);
- }
}
SCSIZE nStopPos = i;
if (nStartPos < nStopPos)