summaryrefslogtreecommitdiff
path: root/sw/source/ui/misc/glosbib.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-13 14:56:28 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-14 08:28:31 +0200
commitb0b0aef18fff981fa1f4a1539c150260cc526595 (patch)
tree5ca719fbb17aa857d132f2d97becfa0ac95b34c2 /sw/source/ui/misc/glosbib.cxx
parenta4fb52ac0f48b10b72be330fe49d99a9a2471751 (diff)
clang-tidy modernize-use-emplace in sw
Change-Id: I92fd035824f247dc61edfb18c54b960a7733fdf7 Reviewed-on: https://gerrit.libreoffice.org/42244 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/ui/misc/glosbib.cxx')
-rw-r--r--sw/source/ui/misc/glosbib.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/misc/glosbib.cxx b/sw/source/ui/misc/glosbib.cxx
index a3db641950c8..ab0dd1b8dae0 100644
--- a/sw/source/ui/misc/glosbib.cxx
+++ b/sw/source/ui/misc/glosbib.cxx
@@ -271,7 +271,7 @@ IMPL_LINK( SwGlossaryGroupDlg, DeleteHdl, Button*, pButton, void )
}
if(bDelete)
{
- m_RemovedArr.push_back(pUserData->sGroupName + "\t" + pUserData->sGroupTitle);
+ m_RemovedArr.emplace_back(pUserData->sGroupName + "\t" + pUserData->sGroupTitle);
}
delete pUserData;
m_pGroupTLB->GetModel()->Remove(pEntry);