Kaydet (Commit) 081837db authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#440995 Logically dead code

Change-Id: I8494cef9c63895c0d7b0a2377961da2df8f34606
üst cb10f332
...@@ -1305,7 +1305,6 @@ Rectangle* ScrollBar::ImplFindPartRect( const Point& rPt ) ...@@ -1305,7 +1305,6 @@ Rectangle* ScrollBar::ImplFindPartRect( const Point& rPt )
bool ScrollBar::PreNotify( NotifyEvent& rNEvt ) bool ScrollBar::PreNotify( NotifyEvent& rNEvt )
{ {
bool nDone = false;
const MouseEvent* pMouseEvt = NULL; const MouseEvent* pMouseEvt = NULL;
if( (rNEvt.GetType() == EVENT_MOUSEMOVE) && (pMouseEvt = rNEvt.GetMouseEvent()) != NULL ) if( (rNEvt.GetType() == EVENT_MOUSEMOVE) && (pMouseEvt = rNEvt.GetMouseEvent()) != NULL )
...@@ -1343,7 +1342,7 @@ bool ScrollBar::PreNotify( NotifyEvent& rNEvt ) ...@@ -1343,7 +1342,7 @@ bool ScrollBar::PreNotify( NotifyEvent& rNEvt )
} }
} }
return nDone || Control::PreNotify(rNEvt); return Control::PreNotify(rNEvt);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment