diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-02-26 15:20:21 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-02-26 20:04:42 +0100 |
commit | b6b9c6ebf66c1fa8f35d82d149aa108d91a86ba0 (patch) | |
tree | 3aa152c8c534784abc4ef0e7710cbfeba57ee5b7 /vcl | |
parent | dc3d27c53e5c8149571025a031857973783a9248 (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.cxx | 3 |
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; |