Kaydet (Commit) d4e2a95a authored tarafından Markus Mohrhard's avatar Markus Mohrhard

if no new cell exists, create hidden broadcaster cell, fdo#51368

Change-Id: I61b96a0e164269ef85778cba7865d6488ebac79d
üst adc4c530
...@@ -1395,6 +1395,9 @@ bool ScColumn::SetString( SCROW nRow, SCTAB nTabP, const String& rString, ...@@ -1395,6 +1395,9 @@ bool ScColumn::SetString( SCROW nRow, SCTAB nTabP, const String& rString,
SvtBroadcaster* pBC = pOldCell->ReleaseBroadcaster(); SvtBroadcaster* pBC = pOldCell->ReleaseBroadcaster();
if (pNewCell || pBC) if (pNewCell || pBC)
{ {
if(!pNewCell)
pNewCell = new ScNoteCell();
if (pBC) if (pBC)
{ {
pNewCell->TakeBroadcaster(pBC); pNewCell->TakeBroadcaster(pBC);
......
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