[Libreoffice-commits] core.git: svtools/source

Stephan Bergmann sbergman at redhat.com
Mon Dec 1 02:19:10 PST 2014


 svtools/source/brwbox/ebbcontrols.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit aeec24cb34d1b5c302bf61b28c8dcb48576eb042
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Dec 1 11:18:27 2014 +0100

    typo
    
    Change-Id: Ifb2120fc0403948ff7eb369184bde090494b2742

diff --git a/svtools/source/brwbox/ebbcontrols.cxx b/svtools/source/brwbox/ebbcontrols.cxx
index 96bcdb1..7b0e577 100644
--- a/svtools/source/brwbox/ebbcontrols.cxx
+++ b/svtools/source/brwbox/ebbcontrols.cxx
@@ -146,7 +146,7 @@ namespace svt
 
     bool ListBoxControl::PreNotify( NotifyEvent& rNEvt )
     {
-        switch (rNEvt.GetType() == MouseNotifyEvent::KEYINPUT && !IsInDropDown())
+        if (rNEvt.GetType() == MouseNotifyEvent::KEYINPUT && !IsInDropDown())
         {
             const KeyEvent *pEvt = rNEvt.GetKeyEvent();
             const vcl::KeyCode rKey = pEvt->GetKeyCode();


More information about the Libreoffice-commits mailing list