[Libreoffice-commits] core.git: sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Mar 17 18:56:15 UTC 2019


 sc/source/core/data/column3.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit e5de84e73ffbaa1a45ab787750f5997582bbfa49
Author:     Eike Rathke <erack at redhat.com>
AuthorDate: Sun Mar 17 00:06:48 2019 +0100
Commit:     Eike Rathke <erack at redhat.com>
CommitDate: Sun Mar 17 19:55:54 2019 +0100

    Reget position_type as the block or type may have changed, tdf#123736 related
    
    Change-Id: I2faf3e74d95cb1f3088f20cbb7de7ba965a6de21
    Reviewed-on: https://gerrit.libreoffice.org/69358
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Tested-by: Jenkins

diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx
index 8af8464a7a1a..fe78809a829a 100644
--- a/sc/source/core/data/column3.cxx
+++ b/sc/source/core/data/column3.cxx
@@ -2217,6 +2217,9 @@ bool ScColumn::SetFormulaCells( SCROW nRow, std::vector<ScFormulaCell*>& rCells
 
     CellStorageModified();
 
+    // Reget position_type as the type may have changed to formula, block and
+    // block size changed, ...
+    aPos = maCells.position(nRow);
     AttachNewFormulaCells(aPos, rCells.size(), aNewSharedRows);
 
     return true;


More information about the Libreoffice-commits mailing list