From 6bb20609a2fd1d591cedc7fa2b9cabb589c346c7 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Thu, 24 Nov 2016 22:40:33 +0100 Subject: 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 --- vcl/source/window/mouse.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vcl/source/window/mouse.cxx') 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; } -- cgit