Kaydet (Commit) e0f49ff1 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

This is obviously a mistake, & caused Calc to crash on Ctrl-D.

Change-Id: I85787366313e38ce0ff503c7677e4407c1e2e30e
üst 4f2890a8
...@@ -1595,7 +1595,7 @@ public: ...@@ -1595,7 +1595,7 @@ public:
void operator() (const sc::CellStoreType::value_type& aNode, size_t nOffset, size_t nDataSize) 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) switch (aNode.type)
{ {
...@@ -1773,7 +1773,7 @@ public: ...@@ -1773,7 +1773,7 @@ public:
void operator() (const sc::CellStoreType::value_type& aNode, size_t nOffset, size_t nDataSize) 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) switch (aNode.type)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment