Kaydet (Commit) faaa1aab authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1210200 Uninitialized pointer field

Change-Id: I29792702565f19e0aae6d7b52eedd695caab97f5
üst 9b8fd6df
......@@ -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; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment