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

Stephan Bergmann sbergman at redhat.com
Mon Dec 1 02:22:11 PST 2014


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

New commits:
commit 03302f74b80baea7eb860f406bcbe0cb7b1a593d
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Dec 1 11:21:40 2014 +0100

    typo
    
    Change-Id: I191319d4893e622cb3d72a7a2a286241e3825c60

diff --git a/svtools/source/dialogs/addresstemplate.cxx b/svtools/source/dialogs/addresstemplate.cxx
index e5c793e..3742e5c 100644
--- a/svtools/source/dialogs/addresstemplate.cxx
+++ b/svtools/source/dialogs/addresstemplate.cxx
@@ -1227,7 +1227,7 @@ void AssignmentPersistentData::Commit()
 
     bool AddressBookSourceDialog::PreNotify( NotifyEvent& _rNEvt )
     {
-        switch (_rNEvt.GetType() == MouseNotifyEvent::KEYINPUT)
+        if (_rNEvt.GetType() == MouseNotifyEvent::KEYINPUT)
         {
             const KeyEvent* pKeyEvent = _rNEvt.GetKeyEvent();
             sal_uInt16 nCode  = pKeyEvent->GetKeyCode().GetCode();


More information about the Libreoffice-commits mailing list