diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-29 10:58:28 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-29 11:39:30 +0100 |
commit | faaa1aab3837c909b89dd28460d72a575c0c5fd4 (patch) | |
tree | 43bc76893fa893c3c225083b4609a9c27f0aa443 /sd | |
parent | 9b8fd6df0e4bba8d3104650418262b6e1e7f8b46 (diff) |
coverity#1210200 Uninitialized pointer field
Change-Id: I29792702565f19e0aae6d7b52eedd695caab97f5
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/inc/unoaprms.hxx | 47 |
1 files changed, 41 insertions, 6 deletions
diff --git a/sd/source/ui/inc/unoaprms.hxx b/sd/source/ui/inc/unoaprms.hxx index 8d8b967d1100..0c1526d34519 100644 --- a/sd/source/ui/inc/unoaprms.hxx +++ b/sd/source/ui/inc/unoaprms.hxx @@ -81,12 +81,47 @@ class SdAnimationPrmsUndoAction : public SdUndoAction public: TYPEINFO_OVERRIDE(); - SdAnimationPrmsUndoAction(SdDrawDocument* pTheDoc, SdrObject* pObj, - bool bCreated): - SdUndoAction (pTheDoc), - pObject (pObj), - bInfoCreated (bCreated) - {} + SdAnimationPrmsUndoAction(SdDrawDocument* pTheDoc, SdrObject* pObj, + bool bCreated) + : SdUndoAction(pTheDoc) + , pObject(pObj) + , bOldActive(false) + , bNewActive(false) + , bOldDimPrevious(false) + , bNewDimPrevious(false) + , bOldDimHide(false) + , bNewDimHide(false) + , bOldSoundOn(false) + , bNewSoundOn(false) + , bOldSecondSoundOn(false) + , bNewSecondSoundOn(false) + , bOldPlayFull(false) + , bNewPlayFull(false) + , bOldSecondPlayFull(false) + , bNewSecondPlayFull(false) + , eOldEffect(css::presentation::AnimationEffect_NONE) + , eNewEffect(css::presentation::AnimationEffect_NONE) + , eOldTextEffect(css::presentation::AnimationEffect_NONE) + , eNewTextEffect(css::presentation::AnimationEffect_NONE) + , eOldSpeed(css::presentation::AnimationSpeed_SLOW) + , eNewSpeed(css::presentation::AnimationSpeed_SLOW) + , eOldSecondEffect(css::presentation::AnimationEffect_NONE) + , eNewSecondEffect(css::presentation::AnimationEffect_NONE) + , eOldSecondSpeed(css::presentation::AnimationSpeed_SLOW) + , eNewSecondSpeed(css::presentation::AnimationSpeed_SLOW) + , pOldPathObj(NULL) + , pNewPathObj(NULL) + , eOldClickAction(css::presentation::ClickAction_NONE) + , eNewClickAction(css::presentation::ClickAction_NONE) + , bOldInvisibleInPres(false) + , bNewInvisibleInPres(false) + , nOldVerb(0) + , nNewVerb(0) + , nOldPresOrder(0) + , nNewPresOrder(0) + , bInfoCreated(bCreated) + { + } void SetActive(bool bTheOldActive, bool bTheNewActive) { bOldActive = bTheOldActive; bNewActive = bTheNewActive; } |