diff options
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/brwbox/editbrowsebox.cxx | 6 | ||||
-rw-r--r-- | svtools/source/control/tabbar.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/brwbox/editbrowsebox.cxx b/svtools/source/brwbox/editbrowsebox.cxx index 8cadf47483f2..46f3379b7847 100644 --- a/svtools/source/brwbox/editbrowsebox.cxx +++ b/svtools/source/brwbox/editbrowsebox.cxx @@ -623,7 +623,7 @@ namespace svt bool EditBrowseBox::PreNotify(NotifyEvent& rEvt) { - if (rEvt.GetType() == MouseNotifyEvent::KEYINPUT) + if (rEvt.GetType() == NotifyEventType::KEYINPUT) { if ( (IsEditing() && ControlHasFocus()) || rEvt.GetWindow() == &GetDataWindow() @@ -647,11 +647,11 @@ namespace svt { switch (rEvt.GetType()) { - case MouseNotifyEvent::GETFOCUS: + case NotifyEventType::GETFOCUS: DetermineFocus(getRealGetFocusFlags(this)); break; - case MouseNotifyEvent::LOSEFOCUS: + case NotifyEventType::LOSEFOCUS: DetermineFocus(); break; diff --git a/svtools/source/control/tabbar.cxx b/svtools/source/control/tabbar.cxx index a1a074c4470a..700c1c37767b 100644 --- a/svtools/source/control/tabbar.cxx +++ b/svtools/source/control/tabbar.cxx @@ -1303,7 +1303,7 @@ void TabBar::Resize() bool TabBar::PreNotify(NotifyEvent& rNEvt) { - if (rNEvt.GetType() == MouseNotifyEvent::COMMAND) + if (rNEvt.GetType() == NotifyEventType::COMMAND) { if (rNEvt.GetCommandEvent()->GetCommand() == CommandEventId::Wheel) { |