summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/spinbtn.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/control/spinbtn.cxx b/vcl/source/control/spinbtn.cxx
index 18ba220c854e..0c1c45861b9e 100644
--- a/vcl/source/control/spinbtn.cxx
+++ b/vcl/source/control/spinbtn.cxx
@@ -487,7 +487,6 @@ Rectangle* SpinButton::ImplFindPartRect( const Point& rPt )
bool SpinButton::PreNotify( NotifyEvent& rNEvt )
{
- bool nDone = false;
const MouseEvent* pMouseEvt = NULL;
if( (rNEvt.GetType() == EVENT_MOUSEMOVE) && (pMouseEvt = rNEvt.GetMouseEvent()) != NULL )
@@ -520,7 +519,7 @@ bool SpinButton::PreNotify( NotifyEvent& rNEvt )
}
}
- return nDone || Control::PreNotify(rNEvt);
+ return Control::PreNotify(rNEvt);
}
// -----------------------------------------------------------------------