diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-11-24 22:40:33 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-11-24 22:56:34 +0100 |
commit | 6bb20609a2fd1d591cedc7fa2b9cabb589c346c7 (patch) | |
tree | 8faf98099786b0c7b6520075d376c55bbd3cddd6 /vcl/source/window/mouse.cxx | |
parent | 502f0cde77bd45979ba3562e80b59a7d5fd8dc56 (diff) |
vcl: rename Window::Notify to EventNotify
There is annoying overloading between Window::Notify and
SfxListener::Notify, and the Window one has apparently fewer
implementations, so rename that and remove lots of disambiguating
"using Notify" in multiply inheriting classes.
Change-Id: I8b597fd9e70cf2e7103b9dfa7cc666e79e7aff49
Diffstat (limited to 'vcl/source/window/mouse.cxx')
-rw-r--r-- | vcl/source/window/mouse.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/window/mouse.cxx b/vcl/source/window/mouse.cxx index adea785a8a38..d1cc051721bc 100644 --- a/vcl/source/window/mouse.cxx +++ b/vcl/source/window/mouse.cxx @@ -412,21 +412,21 @@ void Window::ImplGrabFocusToDocument( GetFocusFlags nFlags ) void Window::MouseMove( const MouseEvent& rMEvt ) { NotifyEvent aNEvt( MouseNotifyEvent::MOUSEMOVE, this, &rMEvt ); - if ( !Notify( aNEvt ) ) + if (!EventNotify(aNEvt)) mpWindowImpl->mbMouseMove = true; } void Window::MouseButtonDown( const MouseEvent& rMEvt ) { NotifyEvent aNEvt( MouseNotifyEvent::MOUSEBUTTONDOWN, this, &rMEvt ); - if ( !Notify( aNEvt ) ) + if (!EventNotify(aNEvt)) mpWindowImpl->mbMouseButtonDown = true; } void Window::MouseButtonUp( const MouseEvent& rMEvt ) { NotifyEvent aNEvt( MouseNotifyEvent::MOUSEBUTTONUP, this, &rMEvt ); - if ( !Notify( aNEvt ) ) + if (!EventNotify(aNEvt)) mpWindowImpl->mbMouseButtonUp = true; } |