summaryrefslogtreecommitdiff
path: root/basegfx/test/boxclipper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basegfx/test/boxclipper.cxx')
-rw-r--r--basegfx/test/boxclipper.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/basegfx/test/boxclipper.cxx b/basegfx/test/boxclipper.cxx
index 7e0bfa5196bf..406f6b23737e 100644
--- a/basegfx/test/boxclipper.cxx
+++ b/basegfx/test/boxclipper.cxx
@@ -164,10 +164,8 @@ public:
tools::importFromSvgD(
randomPoly,
OUString::createFromAscii(randomSvg), false, 0);
- std::for_each(randomPoly.begin(),
- randomPoly.end(),
- [this](const B2DPolygon& aPolygon) mutable {
- this->aRandomIntersections.appendElement(aPolygon.getB2DRange(), B2VectorOrientation::Negative); } );
+ for (auto const& aPolygon : randomPoly)
+ aRandomIntersections.appendElement(aPolygon.getB2DRange(), B2VectorOrientation::Negative);
#endif
}