dr78: #i115009# broadcast BCA_BRDCST_ALWAYS if paint is locked
# HG changeset patch # User Niklas Nebel <nn@openoffice.org> # Date 1297094234 -3600 # Node ID 9c8756a321d727b8e1bf441876ebca00f38a932f # Parent de0464b37fb34e7b7e5735306536d9d9116cf14a
This commit is contained in:
parent
16252e44a3
commit
b66fb4c3c5
1 changed files with 3 additions and 1 deletions
|
@ -2647,7 +2647,9 @@ void ScDocShell::SetDocumentModified( sal_Bool bIsModified /* = sal_True */ )
|
||||||
|
|
||||||
if ( pPaintLockData && bIsModified )
|
if ( pPaintLockData && bIsModified )
|
||||||
{
|
{
|
||||||
//! BCA_BRDCST_ALWAYS etc. also needed here?
|
// #i115009# broadcast BCA_BRDCST_ALWAYS, so a component can read recalculated results
|
||||||
|
// of RecalcModeAlways formulas (like OFFSET) after modifying cells
|
||||||
|
aDocument.Broadcast( SC_HINT_DATACHANGED, BCA_BRDCST_ALWAYS, NULL );
|
||||||
aDocument.InvalidateTableArea(); // #i105279# needed here
|
aDocument.InvalidateTableArea(); // #i105279# needed here
|
||||||
aDocument.BroadcastUno( SfxSimpleHint( SFX_HINT_DATACHANGED ) );
|
aDocument.BroadcastUno( SfxSimpleHint( SFX_HINT_DATACHANGED ) );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue