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 --- sfx2/source/appl/newhelp.cxx | 2 +- sfx2/source/doc/doctemplates.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sfx2') diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx index 72cc4599f03f..fd1269fde142 100644 --- a/sfx2/source/appl/newhelp.cxx +++ b/sfx2/source/appl/newhelp.cxx @@ -984,7 +984,7 @@ void SearchTabPage_Impl::ClearSearchResults() for ( sal_Int32 i = 0; i < nCount; ++i ) delete static_cast(m_pResultsLB->GetEntryData(i)); m_pResultsLB->Clear(); - m_pResultsLB->Update(); + m_pResultsLB->PaintImmediately(); } diff --git a/sfx2/source/doc/doctemplates.cxx b/sfx2/source/doc/doctemplates.cxx index 02b5b7c7a10e..fb193080652e 100644 --- a/sfx2/source/doc/doctemplates.cxx +++ b/sfx2/source/doc/doctemplates.cxx @@ -2267,7 +2267,7 @@ WaitWindow_Impl::WaitWindow_Impl() : WorkWindow(nullptr, WB_BORDER | WB_3DLOOK) SetOutputSizePixel(aRect.GetSize()); Show(); - Update(); + PaintImmediately(); Flush(); } -- cgit