[Libreoffice-commits] core.git: sd/source

Stephan Bergmann sbergman at redhat.com
Tue Jan 23 20:53:11 UTC 2018


 sd/source/filter/eppt/pptexanimations.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 6b75c472cb93a635403317f937df4f543d9b82cf
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Jan 23 11:48:30 2018 +0100

    AnimationNode default ctor already zero-initializes the members
    
    Change-Id: I9725189846a38860550c651b2428296564824ba8
    Reviewed-on: https://gerrit.libreoffice.org/48394
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/sd/source/filter/eppt/pptexanimations.cxx b/sd/source/filter/eppt/pptexanimations.cxx
index 4e8ea36a0965..23b24910db16 100644
--- a/sd/source/filter/eppt/pptexanimations.cxx
+++ b/sd/source/filter/eppt/pptexanimations.cxx
@@ -538,7 +538,6 @@ void AnimationExporter::exportNode( SvStream& rStrm, Reference< XAnimationNode >
                 {
                     EscherExAtom aAnimNodeExAtom( rStrm, DFF_msofbtAnimNode );
                     AnimationNode aAnim;
-                    memset( &aAnim, 0, sizeof( aAnim ) );
                     aAnim.mnGroupType = mso_Anim_GroupType_PAR;
                     aAnim.mnNodeType = 1;
                     // attribute Restart
@@ -784,7 +783,6 @@ void AnimationExporter::exportAnimNode( SvStream& rStrm, const Reference< XAnima
 {
     EscherExAtom    aAnimNodeExAtom( rStrm, DFF_msofbtAnimNode );
     AnimationNode   aAnim;
-    memset( &aAnim, 0, sizeof( aAnim ) );
 
     // attribute Restart
     switch( xNode->getRestart() )


More information about the Libreoffice-commits mailing list