diff options
-rw-r--r-- | svtools/source/brwbox/ebbcontrols.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/brwbox/ebbcontrols.cxx b/svtools/source/brwbox/ebbcontrols.cxx index 96bcdb123011..7b0e577a038d 100644 --- a/svtools/source/brwbox/ebbcontrols.cxx +++ b/svtools/source/brwbox/ebbcontrols.cxx @@ -146,7 +146,7 @@ namespace svt bool ListBoxControl::PreNotify( NotifyEvent& rNEvt ) { - switch (rNEvt.GetType() == MouseNotifyEvent::KEYINPUT && !IsInDropDown()) + if (rNEvt.GetType() == MouseNotifyEvent::KEYINPUT && !IsInDropDown()) { const KeyEvent *pEvt = rNEvt.GetKeyEvent(); const vcl::KeyCode rKey = pEvt->GetKeyCode(); |