diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-11 09:53:51 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-14 10:00:43 +0200 |
commit | 6532cb0e5ec3a59c248b332e868c4c03c31659f1 (patch) | |
tree | d855f456bd5a1e2aadc3be54e92094c9ed53c2f6 /vcl/source/window/event.cxx | |
parent | bcb5756cb0997923ea565459440767e22ce34e7d (diff) |
ImplCallEventListeners and FireVclEvent can take references
Change-Id: Ibfb5ae40edd0db1f6b99bd5178d4d871ede37d7d
Diffstat (limited to 'vcl/source/window/event.cxx')
-rw-r--r-- | vcl/source/window/event.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/window/event.cxx b/vcl/source/window/event.cxx index 8fcc65bf3735..d2ac5b709bfd 100644 --- a/vcl/source/window/event.cxx +++ b/vcl/source/window/event.cxx @@ -206,7 +206,7 @@ void Window::CallEventListeners( sal_uLong nEvent, void* pData ) ImplDelData aDelData; ImplAddDel( &aDelData ); - Application::ImplCallEventListeners( &aEvent ); + Application::ImplCallEventListeners( aEvent ); if ( aDelData.IsDead() ) return; @@ -237,9 +237,9 @@ void Window::CallEventListeners( sal_uLong nEvent, void* pData ) } } -void Window::FireVclEvent( VclSimpleEvent* pEvent ) +void Window::FireVclEvent( VclSimpleEvent& rEvent ) { - Application::ImplCallEventListeners(pEvent); + Application::ImplCallEventListeners(rEvent); } void Window::AddEventListener( const Link<>& rEventListener ) |