From be53f32655973c7a18824d5145eed992be788d2f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 12 Mar 2020 13:55:55 +0200 Subject: 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 --- starmath/source/edit.cxx | 2 +- starmath/source/view.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'starmath') 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 -- cgit