diff options
-rw-r--r-- | sdext/source/presenter/PresenterSlideSorter.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sdext/source/presenter/PresenterSlideSorter.cxx b/sdext/source/presenter/PresenterSlideSorter.cxx index e87cb442df25..1f8adc555693 100644 --- a/sdext/source/presenter/PresenterSlideSorter.cxx +++ b/sdext/source/presenter/PresenterSlideSorter.cxx @@ -542,10 +542,8 @@ void SAL_CALL PresenterSlideSorter::mouseMoved (const css::awt::MouseEvent& rEve sal_Int32 nSlideIndex (mpLayout->GetSlideIndexForPosition(aPosition)); if (nSlideIndex < 0) - mnSlideIndexMousePressed = -1; - - if (nSlideIndex < 0) { + mnSlideIndexMousePressed = -1; mpMouseOverManager->SetSlide(nSlideIndex, awt::Rectangle(0,0,0,0)); } else |