From 03302f74b80baea7eb860f406bcbe0cb7b1a593d Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 1 Dec 2014 11:21:40 +0100 Subject: [PATCH] typo Change-Id: I191319d4893e622cb3d72a7a2a286241e3825c60 --- svtools/source/dialogs/addresstemplate.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svtools/source/dialogs/addresstemplate.cxx b/svtools/source/dialogs/addresstemplate.cxx index e5c793e92ddb..3742e5c5999a 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();