[Libreoffice-commits] .: Branch 'libreoffice-3-5' - sd/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Oct 26 09:02:18 PDT 2012


 sd/source/core/CustomAnimationEffect.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit dc7fe4eec579dbb5bf816dfa3fd53f8fec88da7c
Author: Caolán McNamara <caolanm at redhat.com>
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 <mstahl at redhat.com>
    Tested-by: Michael Stahl <mstahl at redhat.com>
    (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() );
 


More information about the Libreoffice-commits mailing list