summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-12-17 09:20:11 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-12-17 14:48:48 +0000
commit0bfc69d79f1e98116b073c6f464711b15ebc5164 (patch)
treecec579ecf8657b11be6dfcd0b829d2362e6b5655 /sd
parent0b39a164200bbb3dd146f1c79715604126ed7f6e (diff)
relax assert, 0 is fine
Change-Id: I176a79bce85fa81310a53fcfecc6e0bc63f0ae18 (cherry picked from commit 63d650b464ea108c3f2078cd1ce6b851dfc37120)
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/dlg/animobjs.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/dlg/animobjs.cxx b/sd/source/ui/dlg/animobjs.cxx
index 2003ca4f56b0..70fccb60b765 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);