summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-01 11:21:40 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-01 11:21:40 +0100
commit03302f74b80baea7eb860f406bcbe0cb7b1a593d (patch)
treeab5a77771333f098d899cb0dfec2d3c9083e0c67 /svtools
parent28bd5d32a9fd7b72fb2440041a32bcc2702688b6 (diff)
typo
Change-Id: I191319d4893e622cb3d72a7a2a286241e3825c60
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();