summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/cuihyperdlg.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-08 16:55:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-11 08:40:57 +0200
commit4c09f8e087cae598efbb78759110c03ed10e3a3a (patch)
tree963bf5ef462eacc2195ffb23d22c6e7e5fd0d627 /cui/source/dialogs/cuihyperdlg.cxx
parent58edb05341494dfaa3d3ce33505b97961d5f2ea9 (diff)
clang-tidy modernize-use-emplace in c*
Change-Id: I419d1f67ba301050d05981db2a3d6178878684a9 Reviewed-on: https://gerrit.libreoffice.org/42110 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/dialogs/cuihyperdlg.cxx')
-rw-r--r--cui/source/dialogs/cuihyperdlg.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/cui/source/dialogs/cuihyperdlg.cxx b/cui/source/dialogs/cuihyperdlg.cxx
index bf50ae2b07fd..b9e61db2f334 100644
--- a/cui/source/dialogs/cuihyperdlg.cxx
+++ b/cui/source/dialogs/cuihyperdlg.cxx
@@ -90,10 +90,10 @@ SvxHpLinkDlg::SvxHpLinkDlg (vcl::Window* pParent, SfxBindings* pBindings)
std::vector<Image> imgVector;
OUString aStrTitle;
SvxIconChoiceCtrlEntry *pEntry;
- imgVector.push_back(Image(BitmapEx(RID_SVXBMP_HLINETTP)));
- imgVector.push_back(Image(BitmapEx(RID_SVXBMP_HLMAILTP)));
- imgVector.push_back(Image(BitmapEx(RID_SVXBMP_HLDOCTP)));
- imgVector.push_back(Image(BitmapEx(RID_SVXBMP_HLDOCNTP)));
+ imgVector.emplace_back(BitmapEx(RID_SVXBMP_HLINETTP));
+ imgVector.emplace_back(BitmapEx(RID_SVXBMP_HLMAILTP));
+ imgVector.emplace_back(BitmapEx(RID_SVXBMP_HLDOCTP));
+ imgVector.emplace_back(BitmapEx(RID_SVXBMP_HLDOCNTP));
for(Image &aImage : imgVector )
{