diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-11-15 16:55:49 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-11-15 16:55:49 -0500 |
commit | 3b1e88a8eb6b3f9da7c899a791e491db21d1bbdc (patch) | |
tree | 41708b78fae9e937d3fcb406b59ebd400092d2ec /sc/source/ui/docshell/docsh3.cxx | |
parent | 5fc37762b68c9b94734b84546fce2309ff7bb2c0 (diff) |
Reset formula cell's changed flag only for those within visible range.
Especially avoid marking all cells in all sheets which would cause a
performance problem.
Diffstat (limited to 'sc/source/ui/docshell/docsh3.cxx')
-rw-r--r-- | sc/source/ui/docshell/docsh3.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sc/source/ui/docshell/docsh3.cxx b/sc/source/ui/docshell/docsh3.cxx index b392c2dc170e..b7a139fb00d0 100644 --- a/sc/source/ui/docshell/docsh3.cxx +++ b/sc/source/ui/docshell/docsh3.cxx @@ -105,8 +105,6 @@ void ScDocShell::PostEditView( ScEditEngineDefaulter* pEditEngine, const ScAddre void ScDocShell::PostDataChanged() { Broadcast( SfxSimpleHint( FID_DATACHANGED ) ); - aDocument.ResetChanged( ScRange(0,0,0,MAXCOL,MAXROW,MAXTAB) ); - SFX_APP()->Broadcast(SfxSimpleHint( FID_ANYDATACHANGED )); // Navigator //! Navigator direkt benachrichtigen! } @@ -184,9 +182,6 @@ void ScDocShell::PostPaint( const ScRangeList& rRanges, sal_uInt16 nPart, sal_uI } Broadcast(ScPaintHint(aPaintRanges.Combine(), nPart)); - - if (nPart & PAINT_GRID) - aDocument.ResetChanged(aPaintRanges); } void ScDocShell::PostPaintGridAll() |