summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/source/control/scrbar.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/control/scrbar.cxx b/vcl/source/control/scrbar.cxx
index 53b2be29f615..3fd321350f1d 100644
--- a/vcl/source/control/scrbar.cxx
+++ b/vcl/source/control/scrbar.cxx
@@ -1305,7 +1305,6 @@ Rectangle* ScrollBar::ImplFindPartRect( const Point& rPt )
bool ScrollBar::PreNotify( NotifyEvent& rNEvt )
{
- bool nDone = false;
const MouseEvent* pMouseEvt = NULL;
if( (rNEvt.GetType() == EVENT_MOUSEMOVE) && (pMouseEvt = rNEvt.GetMouseEvent()) != NULL )
@@ -1343,7 +1342,7 @@ bool ScrollBar::PreNotify( NotifyEvent& rNEvt )
}
}
- return nDone || Control::PreNotify(rNEvt);
+ return Control::PreNotify(rNEvt);
}