summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/prgsbar.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/prgsbar.cxx b/vcl/source/control/prgsbar.cxx
index c13c14ed0be5..9f8f303f854c 100644
--- a/vcl/source/control/prgsbar.cxx
+++ b/vcl/source/control/prgsbar.cxx
@@ -177,7 +177,7 @@ void ProgressBar::SetValue( sal_uInt16 nNewPercent )
Update();
}
}
- else
+ else if ( mnPercent != nNewPercent )
{
mnPreviousPercent = mnPercent;
mnPercent = nNewPercent;