summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-25 20:45:44 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-25 20:56:32 +0000
commitae78fd8fda475709e8738ca39ac0e5fdb741034f (patch)
treecbc11a73759f6d0fa6317aa5a1c08009d02111ad /vcl
parent0dda969660755caa1fe0ec2e32ba11490840c8e2 (diff)
coverity#440993 Logically dead code
Change-Id: I03685c9a1db89ce4365945d88ce4251ccdf32246
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/tabctrl.cxx3
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);
}
// -----------------------------------------------------------------------