summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/dialogs/addresstemplate.cxx2
1 files changed, 1 insertions, 1 deletions
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();