summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-25 20:49:17 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-25 20:56:34 +0000
commitc3b888d5be3f0276e40f6412cd01e5eff8ddda0e (patch)
treea8ecbc57fe33c9a49726d3548c5a7a460fbd4b43 /vcl
parentc4b217c03e4759cfa1341e4835e3faf32a9ca730 (diff)
coverity#441000 Logically dead code
Change-Id: I4fa2639b62ee08dc2367cfc975bf673cbed65fb6
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/spinfld.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/control/spinfld.cxx b/vcl/source/control/spinfld.cxx
index fa9bee570f2e..0f88c193d427 100644
--- a/vcl/source/control/spinfld.cxx
+++ b/vcl/source/control/spinfld.cxx
@@ -899,7 +899,6 @@ Rectangle* SpinField::ImplFindPartRect( const Point& rPt )
bool SpinField::PreNotify( NotifyEvent& rNEvt )
{
- bool nDone = false;
const MouseEvent* pMouseEvt = NULL;
if( (rNEvt.GetType() == EVENT_MOUSEMOVE) && (pMouseEvt = rNEvt.GetMouseEvent()) != NULL )
@@ -944,7 +943,7 @@ bool SpinField::PreNotify( NotifyEvent& rNEvt )
}
}
- return nDone || Edit::PreNotify(rNEvt);
+ return Edit::PreNotify(rNEvt);
}
// -----------------------------------------------------------------------