summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-23 11:48:30 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-23 21:52:49 +0100
commit6b75c472cb93a635403317f937df4f543d9b82cf (patch)
tree4e2aa4225dc547b035c256dc8237070df15df474 /sd
parentd1016591f42b47ea52d96ce9f09ed01749b97d77 (diff)
AnimationNode default ctor already zero-initializes the members
Change-Id: I9725189846a38860550c651b2428296564824ba8 Reviewed-on: https://gerrit.libreoffice.org/48394 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/eppt/pptexanimations.cxx2
1 files changed, 0 insertions, 2 deletions
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() )