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 /basctl/source/basicide/baside2b.cxx | |
parent | Adapt loplugin:unnecessaryparen to C++20 CXXRewrittenBinaryOperator (diff) | |
download | core-be53f32655973c7a18824d5145eed992be788d2f.tar.gz core-be53f32655973c7a18824d5145eed992be788d2f.zip |
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 'basctl/source/basicide/baside2b.cxx')
-rw-r--r-- | basctl/source/basicide/baside2b.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index b8bdd5628726..83f09d64297e 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -1002,7 +1002,7 @@ void EditorWindow::CreateEditEngine() rModulWindow.GetBreakPointWindow().GetCurYOffset() = 0; rModulWindow.GetLineNumberWindow().GetCurYOffset() = 0; pEditEngine->SetUpdateMode(true); - rModulWindow.Update(); // has only been invalidated at UpdateMode = true + rModulWindow.PaintImmediately(); // has only been invalidated at UpdateMode = true pEditView->ShowCursor(); @@ -1412,7 +1412,7 @@ void BreakPointWindow::DoScroll( long nVertScroll ) void BreakPointWindow::SetMarkerPos( sal_uInt16 nLine, bool bError ) { if ( SyncYOffset() ) - Update(); + PaintImmediately(); nMarkerPos = nLine; bErrorMarker = bError; |