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 /toolkit/source | |
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 'toolkit/source')
-rw-r--r-- | toolkit/source/awt/vclxwindow.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx index b1d1a13b711c..62d6ef49d477 100644 --- a/toolkit/source/awt/vclxwindow.cxx +++ b/toolkit/source/awt/vclxwindow.cxx @@ -2243,7 +2243,7 @@ void VCLXWindow::draw( sal_Int32 nX, sal_Int32 nY ) if ( bWasVisible && aOldPos == aPos ) { - pWindow->Update(); + pWindow->PaintImmediately(); return; } @@ -2253,10 +2253,10 @@ void VCLXWindow::draw( sal_Int32 nX, sal_Int32 nY ) // of this window, as it may otherwise cause the parent // to hide this window again if( pWindow->GetParent() ) - pWindow->GetParent()->Update(); + pWindow->GetParent()->PaintImmediately(); pWindow->Show(); - pWindow->Update(); + pWindow->PaintImmediately(); pWindow->SetParentUpdateMode( false ); pWindow->Hide(); pWindow->SetParentUpdateMode( true ); |