Kaydet (Commit) 82dc7a39 authored tarafından Caolán McNamara's avatar Caolán McNamara

crashtesting: failure importing tdf118662-1.xlsx

with dynamic columns

Change-Id: I1f2ed918932066d8b0def57568f5dc23be3605e4
Reviewed-on: https://gerrit.libreoffice.org/72028
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst f20b8e79
...@@ -1597,7 +1597,7 @@ ScFormulaCell* ScTable::GetFormulaCell( SCCOL nCol, SCROW nRow ) ...@@ -1597,7 +1597,7 @@ ScFormulaCell* ScTable::GetFormulaCell( SCCOL nCol, SCROW nRow )
std::unique_ptr<ScPostIt> ScTable::ReleaseNote( SCCOL nCol, SCROW nRow ) std::unique_ptr<ScPostIt> ScTable::ReleaseNote( SCCOL nCol, SCROW nRow )
{ {
if (!ValidCol(nCol)) if (!ValidCol(nCol) || nCol >= GetAllocatedColumnsCount())
return nullptr; return nullptr;
return aCol[nCol].ReleaseNote(nRow); return aCol[nCol].ReleaseNote(nRow);
......
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