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

coverity#1169809 regression on long->bool

regression since 04683f14
apparently

Change-Id: I35b154dafd9534fb8234a82683cb3e879e136834
üst 12e0102f
......@@ -684,7 +684,7 @@ void SwZoomBox_Impl::Select()
bool SwZoomBox_Impl::Notify( NotifyEvent& rNEvt )
{
bool nHandled = true;
bool bHandled = false;
if ( rNEvt.GetType() == EVENT_KEYINPUT )
{
......@@ -698,7 +698,7 @@ bool SwZoomBox_Impl::Notify( NotifyEvent& rNEvt )
if ( KEY_TAB == nCode )
bRelease = false;
else
nHandled = true;
bHandled = true;
Select();
break;
}
......@@ -716,7 +716,7 @@ bool SwZoomBox_Impl::Notify( NotifyEvent& rNEvt )
SetText( GetSavedValue() );
}
return nHandled || ComboBox::Notify( rNEvt );
return bHandled || ComboBox::Notify( rNEvt );
}
void SwZoomBox_Impl::ReleaseFocus()
......
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