[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - sc/source

Markus Mohrhard markus.mohrhard at googlemail.com
Wed Jul 30 14:48:27 PDT 2014


 sc/source/core/data/table4.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit d6bf71cc649ca2f65eba3c88143573d9ca7f4cc5
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Tue Jul 29 18:52:50 2014 +0200

    the range has to be in the correct order, fdo#81803
    
    Change-Id: Ia3907701857e22c11a2cefa5d35437c8f8219ff6
    (cherry picked from commit 7bff8e93eb98be4b621c3902de227a3c313cf5b4)
    Reviewed-on: https://gerrit.libreoffice.org/10654
    Reviewed-by: Kohei Yoshida <libreoffice at kohei.us>
    Tested-by: Kohei Yoshida <libreoffice at kohei.us>

diff --git a/sc/source/core/data/table4.cxx b/sc/source/core/data/table4.cxx
index e1e04d0..24effea 100644
--- a/sc/source/core/data/table4.cxx
+++ b/sc/source/core/data/table4.cxx
@@ -1139,6 +1139,7 @@ void ScTable::FillFormulaVertical(
 
     SCCOLROW nRowStart = -1, nRowEnd = -1;
     std::vector<sc::RowSpan> aSpans;
+    PutInOrder(nRow1, nRow2);
     for (rInner = nRow1; rInner <= nRow2; ++rInner)
     {
         if (rInner > nHiddenLast)


More information about the Libreoffice-commits mailing list