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 | a7ee99c8a20caefe4f1a6d641ba9c588d2115774 (patch) | |
tree | 209b9997c7e647bb915ea5ed4a5ba64f326d8e9e | |
parent | 6f277160288477b7e1a36191b71fe4210beb0019 (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 f6373971bcd2..5ea9672df6ab 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 ); |