[Libreoffice-commits] core.git: Branch 'feature/calc-group-interpreter' - sc/source

Kohei Yoshida kohei.yoshida at gmail.com
Fri Jun 28 11:22:25 PDT 2013


 sc/source/core/data/column.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 281c3e03c19f3d5501d3be597b927dbd38c9afa0
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date:   Fri Jun 28 14:21:37 2013 -0400

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

diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx
index 1a00a15..25a20f6 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)
         {


More information about the Libreoffice-commits mailing list