summaryrefslogtreecommitdiff
path: root/vcl/source/app/svapp.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-11 09:53:51 +0200
committerNoel Grandin <noel@peralex.com>2015-09-14 10:00:43 +0200
commit6532cb0e5ec3a59c248b332e868c4c03c31659f1 (patch)
treed855f456bd5a1e2aadc3be54e92094c9ed53c2f6 /vcl/source/app/svapp.cxx
parentbcb5756cb0997923ea565459440767e22ce34e7d (diff)
ImplCallEventListeners and FireVclEvent can take references
Change-Id: Ibfb5ae40edd0db1f6b99bd5178d4d871ede37d7d
Diffstat (limited to 'vcl/source/app/svapp.cxx')
-rw-r--r--vcl/source/app/svapp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index 8f561725fc65..0295b915de00 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -665,12 +665,12 @@ void Application::ImplCallEventListeners( sal_uLong nEvent, vcl::Window *pWin, v
pSVData->maAppData.mpEventListeners->Call( &aEvent );
}
-void Application::ImplCallEventListeners( VclSimpleEvent* pEvent )
+void Application::ImplCallEventListeners( VclSimpleEvent& rEvent )
{
ImplSVData* pSVData = ImplGetSVData();
if ( pSVData->maAppData.mpEventListeners )
- pSVData->maAppData.mpEventListeners->Call( pEvent );
+ pSVData->maAppData.mpEventListeners->Call( &rEvent );
}
void Application::AddEventListener( const Link<>& rEventListener )