sc/qa/unit/data/qpro/pass/ofz14090-1.wb2 |binary sc/qa/unit/data/slk/pass/ofz14088-1.slk | 1 + sc/source/core/data/table2.cxx | 2 +- sc/source/core/data/table5.cxx | 2 +- 4 files changed, 3 insertions(+), 2 deletions(-)
New commits: commit 31ac398cfa30694b18240d31df17a58d699b5bf6 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Sat Apr 6 14:03:11 2019 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon Apr 8 09:54:03 2019 +0200 ofz#14088 ofz#14090 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: I447a91468428b463480d835e1983ec11218613a0 Reviewed-on: https://gerrit.libreoffice.org/70388 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/qpro/pass/ofz14090-1.wb2 b/sc/qa/unit/data/qpro/pass/ofz14090-1.wb2 new file mode 100644 index 000000000000..57fa24d40855 Binary files /dev/null and b/sc/qa/unit/data/qpro/pass/ofz14090-1.wb2 differ diff --git a/sc/qa/unit/data/slk/pass/ofz14088-1.slk b/sc/qa/unit/data/slk/pass/ofz14088-1.slk new file mode 100644 index 000000000000..abeaa781088e --- /dev/null +++ b/sc/qa/unit/data/slk/pass/ofz14088-1.slk @@ -0,0 +1 @@ +C;Y2;ERX26;Y1;ERX25;K ID SCALC3 \ No newline at end of file diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx index e737b11cab3b..9839763e8a14 100644 --- a/sc/source/core/data/table2.cxx +++ b/sc/source/core/data/table2.cxx @@ -2555,7 +2555,7 @@ void ScTable::ApplyBlockFrame(const SvxBoxItem& rLineOuter, const SvxBoxInfoItem void ScTable::ApplyPattern( SCCOL nCol, SCROW nRow, const ScPatternAttr& rAttr ) { if (ValidColRow(nCol,nRow)) - aCol[nCol].ApplyPattern( nRow, rAttr ); + CreateColumnIfNotExists(nCol).ApplyPattern( nRow, rAttr ); } void ScTable::ApplyPatternArea( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, diff --git a/sc/source/core/data/table5.cxx b/sc/source/core/data/table5.cxx index 5a50a7cfcdcc..a32c27ae10bd 100644 --- a/sc/source/core/data/table5.cxx +++ b/sc/source/core/data/table5.cxx @@ -1099,7 +1099,7 @@ void ScTable::StartListening( sc::StartListeningContext& rCxt, const ScAddress& if (!ValidCol(rAddress.Col())) return; - aCol[rAddress.Col()].StartListening(rCxt, rAddress, rListener); + CreateColumnIfNotExists(rAddress.Col()).StartListening(rCxt, rAddress, rListener); } void ScTable::EndListening( sc::EndListeningContext& rCxt, const ScAddress& rAddress, SvtListener& rListener ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits