summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/pointersymbol.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-13 13:20:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-13 14:16:51 +0200
commitcc233992dfe0fa9732c24774852d037d161546ce (patch)
tree348422c4a1b92dcbaa6b21a8021197b0cf67267c /slideshow/source/engine/pointersymbol.cxx
parent781267bc8de0ac59623666663e22ac368190b98d (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/pointersymbol.cxx')
-rw-r--r--slideshow/source/engine/pointersymbol.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/source/engine/pointersymbol.cxx b/slideshow/source/engine/pointersymbol.cxx
index b539cf6a1055..29728a522189 100644
--- a/slideshow/source/engine/pointersymbol.cxx
+++ b/slideshow/source/engine/pointersymbol.cxx
@@ -128,7 +128,7 @@ void PointerSymbol::viewAdded( const UnoViewSharedPtr& rView )
SAL_WARN( "slideshow", comphelper::anyToString( cppu::getCaughtException() ) );
}
- maViews.push_back( ViewsVecT::value_type( rView, sprite ) );
+ maViews.emplace_back( rView, sprite );
}
void PointerSymbol::viewRemoved( const UnoViewSharedPtr& rView )