summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2020-06-13 19:34:28 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-06-13 21:50:09 +0200
commitfc617677dedc2ee6f52149bac71195420bc351f3 (patch)
treef1ad099f9a3a59d644196bfe199efc1d3981b46b /vcl
parent058fdc75afa9e5e69c6e11ab7879ddb9d51ae1c5 (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>
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 )