Kaydet (Commit) f33942b7 authored tarafından Noel Grandin's avatar Noel Grandin

tdf#124815 CRASH: inserting a column

regression from
    commit 7282014e
    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: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 314d101b
...@@ -1501,7 +1501,7 @@ bool ScTable::SetFormulaCells( SCCOL nCol, SCROW nRow, std::vector<ScFormulaCell ...@@ -1501,7 +1501,7 @@ bool ScTable::SetFormulaCells( SCCOL nCol, SCROW nRow, std::vector<ScFormulaCell
if (!ValidCol(nCol)) if (!ValidCol(nCol))
return false; return false;
return aCol[nCol].SetFormulaCells(nRow, rCells); return CreateColumnIfNotExists(nCol).SetFormulaCells(nRow, rCells);
} }
svl::SharedString ScTable::GetSharedString( SCCOL nCol, SCROW nRow ) const svl::SharedString ScTable::GetSharedString( SCCOL nCol, SCROW nRow ) const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment