summaryrefslogtreecommitdiff
path: root/sw/source/uibase/wrtsh
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-03-12 13:55:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-04-11 17:56:01 +0200
commitbe53f32655973c7a18824d5145eed992be788d2f (patch)
tree5ace1cd4952594b86485ecce44ea07550d78810c /sw/source/uibase/wrtsh
parent88629b55041b9e7ff5c94afeb2aae725a5898687 (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 'sw/source/uibase/wrtsh')
-rw-r--r--sw/source/uibase/wrtsh/wrtsh2.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/wrtsh/wrtsh2.cxx b/sw/source/uibase/wrtsh/wrtsh2.cxx
index 951989e4f108..5dc536a957be 100644
--- a/sw/source/uibase/wrtsh/wrtsh2.cxx
+++ b/sw/source/uibase/wrtsh/wrtsh2.cxx
@@ -280,7 +280,7 @@ bool SwWrtShell::StartInputFieldDlg(SwField* pField, bool bPrevButton, bool bNex
}
pDlg.disposeAndClear();
- GetWin()->Update();
+ GetWin()->PaintImmediately();
return bRet;
}
@@ -301,7 +301,7 @@ bool SwWrtShell::StartDropDownFieldDlg(SwField* pField, bool bPrevButton, bool b
pDlg.disposeAndClear();
bool bRet = RET_CANCEL == nRet;
- GetWin()->Update();
+ GetWin()->PaintImmediately();
if(RET_YES == nRet)
{
GetView().GetViewFrame()->GetDispatcher()->Execute(FN_EDIT_FIELD, SfxCallMode::SYNCHRON);