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

use correct cell for broadcasting, fdo#55059

Change-Id: I353df8e9d3ccabee32b82d04cdae402e3a83ed23
üst 730ba5d7
...@@ -425,7 +425,10 @@ void ScColumn::DeleteRange( SCSIZE nStartIndex, SCSIZE nEndIndex, sal_uInt16 nDe ...@@ -425,7 +425,10 @@ void ScColumn::DeleteRange( SCSIZE nStartIndex, SCSIZE nEndIndex, sal_uInt16 nDe
else else
{ {
aHint.GetAddress().SetRow( nOldRow ); aHint.GetAddress().SetRow( nOldRow );
aHint.SetCell( pOldCell ); if(bKeepBC)
aHint.SetCell( pNoteCell );
else
aHint.SetCell( pOldCell );
pDocument->Broadcast( aHint ); pDocument->Broadcast( aHint );
if (pNoteCell != pOldCell) if (pNoteCell != pOldCell)
{ {
......
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