[Libreoffice-commits] core.git: Branch 'libreoffice-4-4' - sd/source

Caolán McNamara caolanm at redhat.com
Wed Dec 17 06:49:34 PST 2014


 sd/source/ui/dlg/animobjs.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0bfc69d79f1e98116b073c6f464711b15ebc5164
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Dec 17 09:20:11 2014 +0000

    relax assert, 0 is fine
    
    Change-Id: I176a79bce85fa81310a53fcfecc6e0bc63f0ae18
    (cherry picked from commit 63d650b464ea108c3f2078cd1ce6b851dfc37120)

diff --git a/sd/source/ui/dlg/animobjs.cxx b/sd/source/ui/dlg/animobjs.cxx
index 2003ca4..70fccb6 100644
--- a/sd/source/ui/dlg/animobjs.cxx
+++ b/sd/source/ui/dlg/animobjs.cxx
@@ -291,7 +291,7 @@ IMPL_LINK( AnimationWindow, ClickPlayHdl, void *, p )
     while( bCount && bMovie )
     {
         // make list and view consistent
-        assert(0 < i && i < m_FrameList.size());
+        assert(i < m_FrameList.size());
         m_nCurrentFrame = i;
 
         UpdateControl(bDisableCtrls);


More information about the Libreoffice-commits mailing list