summaryrefslogtreecommitdiff
path: root/vcl/source/app/svapp.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-27 17:13:16 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-30 08:33:39 +0100
commit1ecdddcc32ce2b003fca43ac2c5ef0668afef8dd (patch)
tree40d202cc79977e5f4f4aa9a010d55dc72a4a3d1f /vcl/source/app/svapp.cxx
parentdd9c17ae211a8171a7dc84acd9c9dc17cc5b8c48 (diff)
loplugin:constantparam in vcl
Change-Id: Ic32e4098dcdae5ca5d7fe2749badedabda86a90d Reviewed-on: https://gerrit.libreoffice.org/44043 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/app/svapp.cxx')
-rw-r--r--vcl/source/app/svapp.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index 0bc16bedb090..21426cb190f8 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -657,7 +657,7 @@ void Application::SetSettings( const AllSettings& rSettings )
DataChangedEvent aDCEvt( DataChangedEventType::SETTINGS, &aOldSettings, nChangeFlags );
// notify data change handler
- ImplCallEventListeners( VclEventId::ApplicationDataChanged, nullptr, &aDCEvt);
+ ImplCallEventListeners( VclEventId::ApplicationDataChanged, &aDCEvt);
// Update all windows
vcl::Window* pFirstFrame = pSVData->maWinData.mpFirstFrame;
@@ -772,10 +772,10 @@ void Application::NotifyAllWindows( DataChangedEvent& rDCEvt )
}
}
-void Application::ImplCallEventListeners( VclEventId nEvent, vcl::Window *pWin, void* pData )
+void Application::ImplCallEventListeners( VclEventId nEvent, void* pData )
{
ImplSVData* pSVData = ImplGetSVData();
- VclWindowEvent aEvent( pWin, nEvent, pData );
+ VclWindowEvent aEvent( nullptr, nEvent, pData );
if ( pSVData->maAppData.mpEventListeners )
pSVData->maAppData.mpEventListeners->Call( aEvent );