diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-13 16:43:57 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-14 08:29:11 +0200 |
commit | 2d2259c848b43f9f04d5bb6073c00b8ae124534a (patch) | |
tree | 28a3d6274bcb2ffa5b7c55c519fc07b4f2cfacc3 /ucbhelper/source/provider/providerhelper.cxx | |
parent | b0b0aef18fff981fa1f4a1539c150260cc526595 (diff) |
clang-tidy modernize-use-emplace in test..vbahelper
Change-Id: Ifbe1dd7c9d5dde33f7419548670434591b1a1d82
Reviewed-on: https://gerrit.libreoffice.org/42258
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucbhelper/source/provider/providerhelper.cxx')
-rw-r--r-- | ucbhelper/source/provider/providerhelper.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ucbhelper/source/provider/providerhelper.cxx b/ucbhelper/source/provider/providerhelper.cxx index 83029db18668..841e81bd73ff 100644 --- a/ucbhelper/source/provider/providerhelper.cxx +++ b/ucbhelper/source/provider/providerhelper.cxx @@ -205,9 +205,8 @@ void ContentProviderImplHelper::queryExistingContents( uno::Reference< ucb::XContent > xContent( (*it).second ); if ( xContent.is() ) { - rContents.push_back( - rtl::Reference< ContentImplHelper >( - static_cast< ContentImplHelper * >( xContent.get() ) ) ); + rContents.emplace_back( + static_cast< ContentImplHelper * >( xContent.get() ) ); } ++it; } |