[Libreoffice-commits] .: sd/source
Radek DoulÃk
rodo at kemper.freedesktop.org
Fri Jun 24 08:11:09 PDT 2011
sd/source/ui/animations/CustomAnimationList.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 4be38046a5c2576b5b97ac47f7c0ea17444524ea
Author: Radek Doulik <rodo at novell.com>
Date: Fri Jun 24 17:10:22 2011 +0200
quick fix to avoid crash on impress's start
diff --git a/sd/source/ui/animations/CustomAnimationList.cxx b/sd/source/ui/animations/CustomAnimationList.cxx
index 196fc53..cfb8463 100644
--- a/sd/source/ui/animations/CustomAnimationList.cxx
+++ b/sd/source/ui/animations/CustomAnimationList.cxx
@@ -742,7 +742,7 @@ void CustomAnimationList::update()
// An entry has moved down out of view; scroll down one.
ScrollToAbsPos( nFirstVis + 1 );
}
- else
+ else if ( nFirstVis != -1 )
{
// The selection is still in view, or it hasn't moved.
ScrollToAbsPos( nFirstVis );
More information about the Libreoffice-commits
mailing list