sc/qa/unit/data/wks/pass/ofz14086-1.wks |binary sc/source/core/data/table2.cxx | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-)
New commits: commit 541ad37f2153ba0671e46c7bdf4159cee604dd5f Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Sun Apr 7 21:21:37 2019 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon Apr 8 09:53:45 2019 +0200 ofz#14086 another batch of oss-fuzz failures since... commit 7282014e362a1529a36c88eb308df8ed359c2cfa Date: Fri Feb 1 15:15:16 2019 +0100 tdf#50916 Makes numbers of columns dynamic. Change-Id: Ib4f39c03aadc41fb2a226f47e452fd66b9b34821 Reviewed-on: https://gerrit.libreoffice.org/70387 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/sc/qa/unit/data/wks/pass/ofz14086-1.wks b/sc/qa/unit/data/wks/pass/ofz14086-1.wks new file mode 100644 index 000000000000..74c229abd7bd Binary files /dev/null and b/sc/qa/unit/data/wks/pass/ofz14086-1.wks differ diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx index b049ff193b66..e737b11cab3b 100644 --- a/sc/source/core/data/table2.cxx +++ b/sc/source/core/data/table2.cxx @@ -1493,7 +1493,7 @@ ScFormulaCell* ScTable::SetFormulaCell( SCCOL nCol, SCROW nRow, ScFormulaCell* p return nullptr; } - return aCol[nCol].SetFormulaCell(nRow, pCell, sc::ConvertToGroupListening); + return CreateColumnIfNotExists(nCol).SetFormulaCell(nRow, pCell, sc::ConvertToGroupListening); } bool ScTable::SetFormulaCells( SCCOL nCol, SCROW nRow, std::vector<ScFormulaCell*>& rCells ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits