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 /include/vcl | |
parent | bcb5756cb0997923ea565459440767e22ce34e7d (diff) |
ImplCallEventListeners and FireVclEvent can take references
Change-Id: Ibfb5ae40edd0db1f6b99bd5178d4d871ede37d7d
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/svapp.hxx | 2 | ||||
-rw-r--r-- | include/vcl/window.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/svapp.hxx b/include/vcl/svapp.hxx index bdfa88d02440..17210124ed8c 100644 --- a/include/vcl/svapp.hxx +++ b/include/vcl/svapp.hxx @@ -804,7 +804,7 @@ public: @see ImplCallEventListeners(sal_uLong nEvent, Windows* pWin, void* pData); */ - static void ImplCallEventListeners( VclSimpleEvent* pEvent ); + static void ImplCallEventListeners( VclSimpleEvent& rEvent ); /** Handle keypress event diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx index 63be0ac19f2c..13eb1db909a8 100644 --- a/include/vcl/window.hxx +++ b/include/vcl/window.hxx @@ -800,7 +800,7 @@ protected: void SetCompoundControl( bool bCompound ); void CallEventListeners( sal_uLong nEvent, void* pData = NULL ); - static void FireVclEvent( VclSimpleEvent* pEvent ); + static void FireVclEvent( VclSimpleEvent& rEvent ); virtual bool AcquireGraphics() const SAL_OVERRIDE; virtual void ReleaseGraphics( bool bRelease = true ) SAL_OVERRIDE; |