summaryrefslogtreecommitdiff
path: root/svx/source/engine3d/helperhittest3d.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-13 11:04:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-13 12:15:22 +0200
commit0e3911478349349fb59dcc52cb5f5419fbdc7c0e (patch)
tree424a40df51a25c32f24b8d1108bb2333f81ea760 /svx/source/engine3d/helperhittest3d.cxx
parent39f4a8a60b0d0d2075369adf750f159bf73b0fa3 (diff)
clang-tidy modernize-use-emplace in svx
Change-Id: I52f062bf0b4c1af44576546d0593699758d71084 Reviewed-on: https://gerrit.libreoffice.org/42232 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/engine3d/helperhittest3d.cxx')
-rw-r--r--svx/source/engine3d/helperhittest3d.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/engine3d/helperhittest3d.cxx b/svx/source/engine3d/helperhittest3d.cxx
index eb0226981d07..09dbdf45cd8d 100644
--- a/svx/source/engine3d/helperhittest3d.cxx
+++ b/svx/source/engine3d/helperhittest3d.cxx
@@ -203,7 +203,7 @@ void getAllHit3DObjectsSortedFrontToBack(
for(basegfx::B3DPoint & a : aHitsWithObject)
{
const basegfx::B3DPoint aPointInViewCoordinates(aViewInfo3D.getObjectToView() * a);
- aDepthAndObjectResults.push_back(ImplPairDephAndObject(pCandidate, aPointInViewCoordinates.getZ()));
+ aDepthAndObjectResults.emplace_back(pCandidate, aPointInViewCoordinates.getZ());
}
}
}