diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-25 20:46:49 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-25 20:56:33 +0000 |
commit | 081837dbf5696988423f6858e503efd7fa9b5b5f (patch) | |
tree | 0da57ae0a7c1c3f3b0bc4c612a19cf787adcfb20 /vcl | |
parent | cb10f3324e63faf2ef6593070f195e7a52d3f4b9 (diff) |
coverity#440995 Logically dead code
Change-Id: I8494cef9c63895c0d7b0a2377961da2df8f34606
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/control/scrbar.cxx | 3 |
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); } |