summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-09-04 20:53:42 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-09-05 10:12:47 +0200
commit1caa289a9b7ed54b01b7a425f6e40578d9184cb1 (patch)
tree1e4fe933dfe4f80be70478078c7a667a97339b1b
parentb96e84528153b8b613003a040e90acf4f5abe0f4 (diff)
ofz: MemorySanitizer: use-of-uninitialized-value
Change-Id: I8d35240e1fe68e364016ca46342f74c43aefb876 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121648 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sd/source/filter/ppt/pptin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx
index f998e57c73e9..18d92a96670e 100644
--- a/sd/source/filter/ppt/pptin.cxx
+++ b/sd/source/filter/ppt/pptin.cxx
@@ -269,7 +269,7 @@ bool ImplSdPPTImport::Import()
if ( ( nType == VT_I4 ) || ( nType == VT_UI4 ) )
{
// examine PID_HEADINGPAIR to get the correct entry for PID_DOCPARTS
- sal_uInt32 nSlideCount, nVecCount;
+ sal_uInt32 nSlideCount(0), nVecCount(0);
aPropItem.ReadUInt32( nSlideCount );
if ( nSlideCount && pSection->GetProperty( PID_HEADINGPAIR, aPropItem ) )
{