diff options
-rw-r--r-- | vcl/source/control/tabctrl.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx index d42b98b0a797..2c9a2da557e0 100644 --- a/vcl/source/control/tabctrl.cxx +++ b/vcl/source/control/tabctrl.cxx @@ -1631,7 +1631,6 @@ Rectangle* TabControl::ImplFindPartRect( const Point& rPt ) bool TabControl::PreNotify( NotifyEvent& rNEvt ) { - bool nDone = false; const MouseEvent* pMouseEvt = NULL; if( (rNEvt.GetType() == EVENT_MOUSEMOVE) && (pMouseEvt = rNEvt.GetMouseEvent()) != NULL ) @@ -1675,7 +1674,7 @@ bool TabControl::PreNotify( NotifyEvent& rNEvt ) } } - return nDone || Control::PreNotify(rNEvt); + return Control::PreNotify(rNEvt); } // ----------------------------------------------------------------------- |