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 /vcl/source/window/menufloatingwindow.cxx | |
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 'vcl/source/window/menufloatingwindow.cxx')
-rw-r--r-- | vcl/source/window/menufloatingwindow.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/menufloatingwindow.cxx b/vcl/source/window/menufloatingwindow.cxx index 1c82fa805160..365f80614697 100644 --- a/vcl/source/window/menufloatingwindow.cxx +++ b/vcl/source/window/menufloatingwindow.cxx @@ -501,7 +501,7 @@ void MenuFloatingWindow::KillActivePopup( PopupMenu* pThisOnly ) pPopup->pWindow->SetParentToDefaultWindow(); pPopup->pWindow.disposeAndClear(); - Update(); + PaintImmediately(); } } } @@ -626,7 +626,7 @@ void MenuFloatingWindow::MouseMove( const MouseEvent& rMEvt ) void MenuFloatingWindow::ImplScroll( bool bUp ) { KillActivePopup(); - Update(); + PaintImmediately(); if (!pMenu) return; |