diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-07-05 21:08:09 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-07-05 21:09:33 +0100 |
commit | 63f00d37a20169743d9709977b382c379560ef9e (patch) | |
tree | 3e0f6b999529f2829b24f68603fc252de4b3f32a /sd | |
parent | 428056b9685f34bba6b4181c6a15d20931b273b7 (diff) |
Related: fdo#51247 bandaid to not crash
Change-Id: I1f98a6a1e5ede6fcd9a3570788969edcb251384b
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/core/CustomAnimationEffect.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sd/source/core/CustomAnimationEffect.cxx b/sd/source/core/CustomAnimationEffect.cxx index 16756a55b13f..2ed611589722 100644 --- a/sd/source/core/CustomAnimationEffect.cxx +++ b/sd/source/core/CustomAnimationEffect.cxx @@ -2819,6 +2819,11 @@ void EffectSequenceHelper::setAnimateForm( CustomAnimationTextGroupPtr pTextGrou EffectSequence aEffects( pTextGroup->maEffects ); pTextGroup->reset(); + SAL_WARN_IF(aEffects.empty(), "sd", "EffectSequenceHelper::setAnimateForm effects empty" ); + + if (aEffects.empty()) + return; + EffectSequence::iterator aIter( aEffects.begin() ); const EffectSequence::iterator aEnd( aEffects.end() ); |