summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-02-26 15:29:05 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-02-26 20:05:34 +0100
commit9c6a2a63fcca8d60f19e40d7c7125c38ee943ca0 (patch)
tree4348b59168f1a584de802b4314edf14935801d9c /vcl
parent2e2bd25b4a13758745aa9ae687c5d94a0f32bb6e (diff)
cid#1500406 Uninitialized scalar field
Change-Id: I1e2de80f8943d2bfe288b8ddcabd376561269d24 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130598 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/prgsbar.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/control/prgsbar.cxx b/vcl/source/control/prgsbar.cxx
index eabd2b29e942..6b7a7007c599 100644
--- a/vcl/source/control/prgsbar.cxx
+++ b/vcl/source/control/prgsbar.cxx
@@ -30,7 +30,10 @@
void ProgressBar::ImplInit()
{
+ mnPrgsWidth = 0;
+ mnPrgsHeight = 0;
mnPercent = 0;
+ mnPercentCount = 0;
mbCalcNew = true;
ImplInitSettings( true, true, true );