diff options
author | Radek Doulik <rodo@novell.com> | 2011-06-24 17:10:22 +0200 |
---|---|---|
committer | Radek Doulik <rodo@novell.com> | 2011-06-24 17:10:22 +0200 |
commit | 4be38046a5c2576b5b97ac47f7c0ea17444524ea (patch) | |
tree | 616853d7332c4ddf149c400c0a34b11e16587939 | |
parent | 3d4d78968ed10bff585fd214b4f9dbb3ebe739b2 (diff) |
quick fix to avoid crash on impress's start
-rw-r--r-- | sd/source/ui/animations/CustomAnimationList.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/animations/CustomAnimationList.cxx b/sd/source/ui/animations/CustomAnimationList.cxx index 196fc5388..cfb8463e1 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 ); |