summaryrefslogtreecommitdiffstats
path: root/sdext/source/presenter/PresenterScrollBar.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/presenter/PresenterScrollBar.cxx')
-rw-r--r--sdext/source/presenter/PresenterScrollBar.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdext/source/presenter/PresenterScrollBar.cxx b/sdext/source/presenter/PresenterScrollBar.cxx
index bd156861c44f..9be3b86776e2 100644
--- a/sdext/source/presenter/PresenterScrollBar.cxx
+++ b/sdext/source/presenter/PresenterScrollBar.cxx
@@ -185,7 +185,7 @@ void PresenterScrollBar::SetThumbPosition (
{
nPosition = ValidateThumbPosition(nPosition);
- if (!(nPosition != mnThumbPosition && ! mbIsNotificationActive))
+ if (nPosition == mnThumbPosition || mbIsNotificationActive)
return;
mnThumbPosition = nPosition;