Kaydet (Commit) 31ac398c authored tarafından Caolán McNamara's avatar Caolán McNamara

ofz#14088 ofz#14090 another batch of oss-fuzz failures

since...

commit 7282014e
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: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 541ad37f
C;Y2;ERX26;Y1;ERX25;K ID SCALC3
\ No newline at end of file
...@@ -2555,7 +2555,7 @@ void ScTable::ApplyBlockFrame(const SvxBoxItem& rLineOuter, const SvxBoxInfoItem ...@@ -2555,7 +2555,7 @@ void ScTable::ApplyBlockFrame(const SvxBoxItem& rLineOuter, const SvxBoxInfoItem
void ScTable::ApplyPattern( SCCOL nCol, SCROW nRow, const ScPatternAttr& rAttr ) void ScTable::ApplyPattern( SCCOL nCol, SCROW nRow, const ScPatternAttr& rAttr )
{ {
if (ValidColRow(nCol,nRow)) 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, void ScTable::ApplyPatternArea( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow,
......
...@@ -1099,7 +1099,7 @@ void ScTable::StartListening( sc::StartListeningContext& rCxt, const ScAddress& ...@@ -1099,7 +1099,7 @@ void ScTable::StartListening( sc::StartListeningContext& rCxt, const ScAddress&
if (!ValidCol(rAddress.Col())) if (!ValidCol(rAddress.Col()))
return; 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 ) void ScTable::EndListening( sc::EndListeningContext& rCxt, const ScAddress& rAddress, SvtListener& rListener )
......
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