summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2020-06-13 19:34:28 +0200
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2020-06-16 11:23:20 +0200
commit33f3f50bd507bd2a2fa6efdfe935be5b7d648f3b (patch)
tree488a0827a308e3cfcdde66976fa0488155d331c4 /vcl
parentc6ae09ecfa2a8a9746e72b3e52e5b32ece6b77cb (diff)
tdf#131942 no progress bar when saving in calc
regression from commit a7de363cead5cd0021d2e3df4573d4cbe27df23b remove unnecessary Window::Update() calls, which immediately follow Invalidate Change-Id: I2525acc9da786c0908bde5f8553258382f7cd45c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96261 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> (cherry picked from commit fc617677dedc2ee6f52149bac71195420bc351f3) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96288 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/prgsbar.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/control/prgsbar.cxx b/vcl/source/control/prgsbar.cxx
index a99c84af2d4e..7082042df261 100644
--- a/vcl/source/control/prgsbar.cxx
+++ b/vcl/source/control/prgsbar.cxx
@@ -169,6 +169,7 @@ void ProgressBar::SetValue( sal_uInt16 nNewPercent )
if ( IsReallyVisible() )
{
Invalidate();
+ PaintImmediately();
}
}
else if ( mnPercent != nNewPercent )