diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-09-02 10:05:50 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-09-03 12:05:03 +0200 |
commit | 6c0c3bd74e0d94f48feda9bd7663bb9b5d9fc320 (patch) | |
tree | 91fd6bce9e23d05427e5385b2b02482465ac7a73 /sd | |
parent | b6e5aca3b35df4b0fd05f449435bb69bd0cea164 (diff) |
ofz: MemorySanitizer: use-of-uninitialized-value
Change-Id: Ie4fe1a4d346d3b790349132460b9efcc448d0eb4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121551
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/ppt/pptinanimations.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/filter/ppt/pptinanimations.cxx b/sd/source/filter/ppt/pptinanimations.cxx index 313a724ec639..d03efbc87980 100644 --- a/sd/source/filter/ppt/pptinanimations.cxx +++ b/sd/source/filter/ppt/pptinanimations.cxx @@ -2129,13 +2129,13 @@ void AnimationImporter::importAnimateKeyPoints( const Atom* pAtom, const Referen OUString aFormula; pIter = pAtom->findFirstChildAtom(DFF_msofbtAnimKeyTime); - sal_Int32 nTemp; bool bToNormalize = false; for( int nKeyTime = 0; (nKeyTime < nKeyTimes) && pIter; nKeyTime++ ) { if( pIter->seekToContent() ) { - mrStCtrl.ReadInt32( nTemp ); + sal_Int32 nTemp(0); + mrStCtrl.ReadInt32(nTemp); double fTemp = static_cast<double>(nTemp) / 1000.0; aKeyTimes[nKeyTime] = fTemp; if( fTemp == -1 ) |