summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-02-26 15:20:21 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-02-26 20:04:42 +0100
commitb6b9c6ebf66c1fa8f35d82d149aa108d91a86ba0 (patch)
tree3aa152c8c534784abc4ef0e7710cbfeba57ee5b7 /vcl
parentdc3d27c53e5c8149571025a031857973783a9248 (diff)
cid#1500651 Uninitialized scalar field
Change-Id: If22e0931c13c6945640264c55edb1af52b2c4187 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130594 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/virdev.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/gdi/virdev.cxx b/vcl/source/gdi/virdev.cxx
index 87721c683d77..1aec06239913 100644
--- a/vcl/source/gdi/virdev.cxx
+++ b/vcl/source/gdi/virdev.cxx
@@ -129,6 +129,9 @@ void VirtualDevice::ImplInitVirDev( const OutputDevice* pOutDev,
meRefDevMode = RefDevMode::NONE;
mbForceZeroExtleadBug = false;
+ mnBitCount = 0;
+ mbScreenComp = false;
+
bool bErase = nDX > 0 && nDY > 0;