[Libreoffice-commits] core.git: Branch 'feature/formula-core-rework' - sc/source

Kohei Yoshida kohei.yoshida at gmail.com
Fri Jun 28 11:21:57 PDT 2013


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

New commits:
commit bbfdd5955cd867929c30ec11c3d11a62b6a55efd
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 9f75ad8..a224b6f 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