summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/edit.cxx2
-rw-r--r--starmath/source/view.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx
index ae7c4aca99a8..755bb3b5c667 100644
--- a/starmath/source/edit.cxx
+++ b/starmath/source/edit.cxx
@@ -521,7 +521,7 @@ void SmEditWindow::CreateEditView()
ESelection eSelection;
pEditView->SetSelection(eSelection);
- Update();
+ PaintImmediately();
pEditView->ShowCursor();
pEditEngine->SetStatusEventHdl( LINK(this, SmEditWindow, EditStatusHdl) );
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index a76a6e82b83b..44154a3e4259 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -902,7 +902,7 @@ void SmViewShell::OuterResizePixel(const Point &rOfs, const Size &rSize)
rWin.SetPosSizePixel(rOfs, rSize);
if (GetDoc()->IsPreview())
rWin.ZoomToFitInWindow();
- rWin.Update();
+ rWin.PaintImmediately();
}
void SmViewShell::QueryObjAreaPixel( tools::Rectangle& rRect ) const