diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-03-12 13:55:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-04-11 17:56:01 +0200 |
commit | be53f32655973c7a18824d5145eed992be788d2f (patch) | |
tree | 5ace1cd4952594b86485ecce44ea07550d78810c /starmath | |
parent | 88629b55041b9e7ff5c94afeb2aae725a5898687 (diff) |
rename vcl::Window::Update to PaintImmediately
To make the code easier to read.
Change-Id: Iebc648150391939fba5d1cd815c72dbcf02ceec6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90378
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/edit.cxx | 2 | ||||
-rw-r--r-- | starmath/source/view.cxx | 2 |
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 |