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

Stephan Bergmann sbergman at redhat.com
Mon Dec 1 02:20:48 PST 2014


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

New commits:
commit 28bd5d32a9fd7b72fb2440041a32bcc2702688b6
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Dec 1 11:20:07 2014 +0100

    typo
    
    Change-Id: I9151667213cc3c4d36d49547ae717ff3bec09cc3

diff --git a/svtools/source/control/fileurlbox.cxx b/svtools/source/control/fileurlbox.cxx
index 98df1c0..a4daf5a 100644
--- a/svtools/source/control/fileurlbox.cxx
+++ b/svtools/source/control/fileurlbox.cxx
@@ -78,7 +78,7 @@ namespace svt
 
     bool FileURLBox::Notify( NotifyEvent& _rNEvt )
     {
-        switch (_rNEvt.GetType() == MouseNotifyEvent::KEYINPUT)
+        if (_rNEvt.GetType() == MouseNotifyEvent::KEYINPUT)
         {
             if  (   ( GetSubEdit() == _rNEvt.GetWindow()                         )
                 &&  ( KEY_RETURN == _rNEvt.GetKeyEvent()->GetKeyCode().GetCode() )


More information about the Libreoffice-commits mailing list