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 --- sc/source/ui/view/tabview5.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sc/source/ui/view/tabview5.cxx') diff --git a/sc/source/ui/view/tabview5.cxx b/sc/source/ui/view/tabview5.cxx index b075b748f0e3..dfd5eccf726d 100644 --- a/sc/source/ui/view/tabview5.cxx +++ b/sc/source/ui/view/tabview5.cxx @@ -241,8 +241,8 @@ void ScTabView::MakeDrawView( TriState nForceDesignMode ) { pGridWin[i]->SetMapMode(pGridWin[i]->GetDrawMapMode()); - pGridWin[i]->Update(); // because of Invalidate in DrawView ctor (ShowPage), - // so that immediately can be drawn + pGridWin[i]->PaintImmediately(); // because of Invalidate in DrawView ctor (ShowPage), + // so that immediately can be drawn } SfxRequest aSfxRequest(SID_OBJECT_SELECT, SfxCallMode::SLOT, aViewData.GetViewShell()->GetPool()); SetDrawFuncPtr(new FuSelection(*aViewData.GetViewShell(), GetActiveWin(), pDrawView.get(), -- cgit