diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-13 13:20:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-13 14:16:51 +0200 |
commit | cc233992dfe0fa9732c24774852d037d161546ce (patch) | |
tree | 348422c4a1b92dcbaa6b21a8021197b0cf67267c /slideshow/source/engine/slide/slideimpl.cxx | |
parent | 781267bc8de0ac59623666663e22ac368190b98d (diff) |
clang-tidy modernize-use-emplace in slideshow
Change-Id: Ice6ab0dcd6785a751be5a66b262690640e0a2780
Reviewed-on: https://gerrit.libreoffice.org/42239
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'slideshow/source/engine/slide/slideimpl.cxx')
-rw-r--r-- | slideshow/source/engine/slide/slideimpl.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/slideshow/source/engine/slide/slideimpl.cxx b/slideshow/source/engine/slide/slideimpl.cxx index 0c51937b2b82..45e58d75c934 100644 --- a/slideshow/source/engine/slide/slideimpl.cxx +++ b/slideshow/source/engine/slide/slideimpl.cxx @@ -581,9 +581,8 @@ SlideBitmapSharedPtr SlideImpl::getCurrentSlideBitmap( const UnoViewSharedPtr& r void SlideImpl::viewAdded( const UnoViewSharedPtr& rView ) { - maSlideBitmaps.push_back( - std::make_pair( rView, - VectorOfSlideBitmaps(SlideAnimationState_NUM_ENTRIES) )); + maSlideBitmaps.emplace_back( rView, + VectorOfSlideBitmaps(SlideAnimationState_NUM_ENTRIES) ); if( mpLayerManager ) mpLayerManager->viewAdded( rView ); |