summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2011-11-28 02:51:49 +0100
committerEike Rathke <erack@redhat.com>2011-11-28 15:25:32 +0100
commitb66fb4c3c5c7d1bb6543d84d425b6c4bd654fae3 (patch)
tree9427cd496a3848ba8004c224784ba013db13af4d /sc
parent16252e44a3a1bf2414ea64455e6bf016ec5b7d04 (diff)
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
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/docshell/docsh.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx
index 24daab7b8f17..9fa5769ee1ff 100644
--- a/sc/source/ui/docshell/docsh.cxx
+++ b/sc/source/ui/docshell/docsh.cxx
@@ -2647,7 +2647,9 @@ void ScDocShell::SetDocumentModified( sal_Bool bIsModified /* = sal_True */ )
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.BroadcastUno( SfxSimpleHint( SFX_HINT_DATACHANGED ) );