diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-09-04 20:53:42 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-09-05 10:12:47 +0200 |
commit | 1caa289a9b7ed54b01b7a425f6e40578d9184cb1 (patch) | |
tree | 1e4fe933dfe4f80be70478078c7a667a97339b1b /sd/source | |
parent | b96e84528153b8b613003a040e90acf4f5abe0f4 (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>
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/filter/ppt/pptin.cxx | 2 |
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 ) ) { |