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 /ucb/source/ucp/file/filrset.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 'ucb/source/ucp/file/filrset.cxx')
-rw-r--r-- | ucb/source/ucp/file/filrset.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/ucb/source/ucp/file/filrset.cxx b/ucb/source/ucp/file/filrset.cxx index ff49703198a5..653ba85777c3 100644 --- a/ucb/source/ucp/file/filrset.cxx +++ b/ucb/source/ucp/file/filrset.cxx @@ -239,8 +239,7 @@ XResultSet_impl::OneMore() { osl::MutexGuard aGuard( m_aMutex ); m_aItems.push_back( aRow ); - m_aIdents.push_back( - uno::Reference< ucb::XContentIdentifier >() ); + m_aIdents.emplace_back( ); m_aUnqPath.push_back( aUnqPath ); rowCountChanged(); return true; @@ -254,8 +253,7 @@ XResultSet_impl::OneMore() { osl::MutexGuard aGuard( m_aMutex ); m_aItems.push_back( aRow ); - m_aIdents.push_back( - uno::Reference< ucb::XContentIdentifier >() ); + m_aIdents.emplace_back( ); m_aUnqPath.push_back( aUnqPath ); rowCountChanged(); return true; @@ -268,8 +266,7 @@ XResultSet_impl::OneMore() { osl::MutexGuard aGuard( m_aMutex ); m_aItems.push_back( aRow ); - m_aIdents.push_back( - uno::Reference< ucb::XContentIdentifier >() ); + m_aIdents.emplace_back( ); m_aUnqPath.push_back( aUnqPath ); rowCountChanged(); return true; |