sd/source/core/CustomAnimationEffect.cxx | 5 +++++ 1 file changed, 5 insertions(+)
New commits: commit dc7fe4eec579dbb5bf816dfa3fd53f8fec88da7c Author: Caolán McNamara <[email protected]> Date: Thu Jul 5 21:08:09 2012 +0100 Related: fdo#51247 bandaid to not crash Change-Id: I1f98a6a1e5ede6fcd9a3570788969edcb251384b (cherry picked from commit 63f00d37a20169743d9709977b382c379560ef9e) Reviewed-on: https://gerrit.libreoffice.org/918 Reviewed-by: Michael Stahl <[email protected]> Tested-by: Michael Stahl <[email protected]> (cherry picked from commit aa06651526d47d9e102fbffc6e3f17da2a7ec160) Reviewed-on: https://gerrit.libreoffice.org/920 diff --git a/sd/source/core/CustomAnimationEffect.cxx b/sd/source/core/CustomAnimationEffect.cxx index 47b47d1..8f39b26 100644 --- a/sd/source/core/CustomAnimationEffect.cxx +++ b/sd/source/core/CustomAnimationEffect.cxx @@ -2838,6 +2838,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() );
_______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
