diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-08 16:55:09 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-08 20:17:31 +0200 |
commit | 84cbd6a5434e119613d677370e7657ea77cd7767 (patch) | |
tree | 9dd079b3e9eeea70a89718ad918c488583c96d6c /basegfx/source/polygon/b2dpolypolygoncutter.cxx | |
parent | 44786fad67cf48f6091e868cf0476e754650d385 (diff) |
clang-tidy modernize-use-emplace in b*
Change-Id: I51e0369ba2e1fe0b7c934531f71d3bda95ba09ec
Reviewed-on: https://gerrit.libreoffice.org/42109
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basegfx/source/polygon/b2dpolypolygoncutter.cxx')
-rw-r--r-- | basegfx/source/polygon/b2dpolypolygoncutter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basegfx/source/polygon/b2dpolypolygoncutter.cxx b/basegfx/source/polygon/b2dpolypolygoncutter.cxx index cbd5a50112af..1c72680a325a 100644 --- a/basegfx/source/polygon/b2dpolypolygoncutter.cxx +++ b/basegfx/source/polygon/b2dpolypolygoncutter.cxx @@ -449,13 +449,13 @@ namespace basegfx if(pLast->getX() != aMiddle.getX() || pLast->getY() != aMiddle.getY()) { - maCorrectionTable.push_back(CorrectionPair(*pLast, aMiddle)); + maCorrectionTable.emplace_back(*pLast, aMiddle); *pLast = aMiddle; } if(pCurrent->getX() != aMiddle.getX() || pCurrent->getY() != aMiddle.getY()) { - maCorrectionTable.push_back(CorrectionPair(*pCurrent, aMiddle)); + maCorrectionTable.emplace_back(*pCurrent, aMiddle); *pCurrent = aMiddle; } } |