[Libreoffice-commits] core.git: sc/source
Noel Grandin (via logerrit)
logerrit at kemper.freedesktop.org
Thu Apr 18 11:23:55 UTC 2019
sc/source/core/data/table2.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f33942b7f418e8774d99d5c56aad4455c07eb809
Author: Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Thu Apr 18 11:56:52 2019 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Thu Apr 18 13:22:45 2019 +0200
tdf#124815 CRASH: inserting a column
regression from
commit 7282014e362a1529a36c88eb308df8ed359c2cfa
Date: Fri Feb 1 15:15:16 2019 +0100
tdf#50916 Makes numbers of columns dynamic.
Change-Id: If82689218344d1fea025d7d6e409dd5ec9e2d3b3
Reviewed-on: https://gerrit.libreoffice.org/70924
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx
index fa35ef22e2e5..218ca0c8e1cc 100644
--- a/sc/source/core/data/table2.cxx
+++ b/sc/source/core/data/table2.cxx
@@ -1501,7 +1501,7 @@ bool ScTable::SetFormulaCells( SCCOL nCol, SCROW nRow, std::vector<ScFormulaCell
if (!ValidCol(nCol))
return false;
- return aCol[nCol].SetFormulaCells(nRow, rCells);
+ return CreateColumnIfNotExists(nCol).SetFormulaCells(nRow, rCells);
}
svl::SharedString ScTable::GetSharedString( SCCOL nCol, SCROW nRow ) const
More information about the Libreoffice-commits
mailing list