diff options
-rw-r--r-- | sc/source/ui/app/scmod.cxx | 5 | ||||
-rw-r--r-- | sc/source/ui/view/gridwin2.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/tabview4.cxx | 3 |
3 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx index a643736084a4..20c216890808 100644 --- a/sc/source/ui/app/scmod.cxx +++ b/sc/source/ui/app/scmod.cxx @@ -1229,10 +1229,7 @@ void ScModule::ModifyOptions( const SfxItemSet& rOptSet ) if (pViewSh) pViewSh->EnableAutoSpell(bDoAutoSpell); - //#92038#; don't set document modified, because this flag is no longer saved -// pDocSh->SetDocumentModified(); - - bRepaint = sal_True; // weil HideAutoSpell evtl. ungueltig + bRepaint = true; // weil HideAutoSpell evtl. ungueltig //! alle Views painten ??? } } diff --git a/sc/source/ui/view/gridwin2.cxx b/sc/source/ui/view/gridwin2.cxx index c945165cc411..2a057b5d07d1 100644 --- a/sc/source/ui/view/gridwin2.cxx +++ b/sc/source/ui/view/gridwin2.cxx @@ -605,7 +605,7 @@ bool ScGridWindow::UpdateVisibleRange() if (nYBottom > MAXROW) nYBottom = MAXROW; // Store the current visible range. - bool bChanged = maVisibleRange.set(nPosX, nPosY, nXRight, nYBottom); + bool bChanged = maVisibleRange.set(nPosX, nPosY, nXRight, nYBottom); if (bChanged) { if (mpSpellCheckCxt) diff --git a/sc/source/ui/view/tabview4.cxx b/sc/source/ui/view/tabview4.cxx index a7c4faca41cd..3aa9a47efeea 100644 --- a/sc/source/ui/view/tabview4.cxx +++ b/sc/source/ui/view/tabview4.cxx @@ -428,7 +428,10 @@ void ScTabView::UpdateScrollBars() if ( aViewData.IsActive() ) { if (UpdateVisibleRange()) + { SC_MOD()->AnythingChanged(); // if visible area has changed + PaintGrid(); + } } } |