summaryrefslogtreecommitdiff
path: root/emfio/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-08-29 11:05:09 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-08-29 20:39:25 +0200
commit16b24385331d85763759291eccfb0344a65e7540 (patch)
treeefb2cd26f68735c9922fd94d827ead3e8e78cc42 /emfio/source
parent72da4c623baf60eb2b7073697cd36ffb3022847d (diff)
ofz: MemorySanitizer: use-of-uninitialized-value
Change-Id: I6d01c819766520eb5c0a8190fa2e9f6f99006548 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121220 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'emfio/source')
-rw-r--r--emfio/source/reader/emfreader.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/emfio/source/reader/emfreader.cxx b/emfio/source/reader/emfreader.cxx
index 8fed29a17f50..f3c1fffdfd77 100644
--- a/emfio/source/reader/emfreader.cxx
+++ b/emfio/source/reader/emfreader.cxx
@@ -1121,8 +1121,8 @@ namespace emfio
case EMR_MODIFYWORLDTRANSFORM :
{
- sal_uInt32 nMode;
- XForm aTempXForm;
+ sal_uInt32 nMode(0);
+ XForm aTempXForm;
*mpInputStream >> aTempXForm;
mpInputStream->ReadUInt32( nMode );
ModifyWorldTransform( aTempXForm, nMode );