summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-06-28 14:21:37 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-06-28 14:25:42 -0400
commite0f49ff1fdb3813650bcce4eac1c2f7ec18942d0 (patch)
tree6200c03c14cf74f1b13b445393fd1f8553738aba /sc
parent4f2890a8c9a0c8cadeb469b8b6e23ea7ec3f3b81 (diff)
This is obviously a mistake, & caused Calc to crash on Ctrl-D.
Change-Id: I85787366313e38ce0ff503c7677e4407c1e2e30e
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/column.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx
index 9f75ad8ad445..a224b6f4c8fe 100644
--- a/sc/source/core/data/column.cxx
+++ b/sc/source/core/data/column.cxx
@@ -1595,7 +1595,7 @@ public:
void operator() (const sc::CellStoreType::value_type& aNode, size_t nOffset, size_t nDataSize)
{
- size_t nRow = aNode.position - nOffset;
+ size_t nRow = aNode.position + nOffset;
switch (aNode.type)
{
@@ -1773,7 +1773,7 @@ public:
void operator() (const sc::CellStoreType::value_type& aNode, size_t nOffset, size_t nDataSize)
{
- size_t nRow = aNode.position - nOffset;
+ size_t nRow = aNode.position + nOffset;
switch (aNode.type)
{