diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-13 16:44:19 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-14 08:29:45 +0200 |
commit | c856ae17aff5db258eb16713f56fce9f28400d47 (patch) | |
tree | 5a02c77626257837c465212e1345c65334c72e37 /vcl/source/app/svapp.cxx | |
parent | 2d2259c848b43f9f04d5bb6073c00b8ae124534a (diff) |
clang-tidy modernize-use-emplace in vcl
Change-Id: Ie0a6d105b0167431275e628935df4f4c1a36d070
Reviewed-on: https://gerrit.libreoffice.org/42259
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/app/svapp.cxx')
-rw-r--r-- | vcl/source/app/svapp.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx index fdbc5f9d9522..9e5a47097093 100644 --- a/vcl/source/app/svapp.cxx +++ b/vcl/source/app/svapp.cxx @@ -891,7 +891,7 @@ ImplSVEvent * Application::PostKeyEvent( VclEventId nEvent, vcl::Window *pWin, K if( nEventId ) { pPostEventData->mnEventId = nEventId; - ImplGetSVData()->maAppData.maPostedEventList.push_back( ImplPostEventPair( pWin, pPostEventData ) ); + ImplGetSVData()->maAppData.maPostedEventList.emplace_back( pWin, pPostEventData ); } else delete pPostEventData; @@ -924,7 +924,7 @@ ImplSVEvent * Application::PostMouseEvent( VclEventId nEvent, vcl::Window *pWin, if( nEventId ) { pPostEventData->mnEventId = nEventId; - ImplGetSVData()->maAppData.maPostedEventList.push_back( ImplPostEventPair( pWin, pPostEventData ) ); + ImplGetSVData()->maAppData.maPostedEventList.emplace_back( pWin, pPostEventData ); } else delete pPostEventData; |