From e6242ef5bf398cb598b5eeac1141576e87b0baf3 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 8 Feb 2014 20:57:12 +0000 Subject: coverity#1169809 regression on long->bool regression since 04683f14883f4cd64febadd71b327639f1e7edcc apparently Change-Id: I35b154dafd9534fb8234a82683cb3e879e136834 --- sw/source/ui/ribbar/workctrl.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sw') diff --git a/sw/source/ui/ribbar/workctrl.cxx b/sw/source/ui/ribbar/workctrl.cxx index 2833fef429cb..0b449afc1380 100644 --- a/sw/source/ui/ribbar/workctrl.cxx +++ b/sw/source/ui/ribbar/workctrl.cxx @@ -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() -- cgit /option> LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/bin/git-new-workdir
AgeCommit message (Expand)Author
2011-12-16when creating linked clone with branch, make sure to ff to the current stateChristian Lohmaier
2010-11-30add some utility scripts to create new workdirNorbert Thiebaud