diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:10:29 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:16 +0100 |
commit | a17cde058213f962b8de880de6f5b1e4f2061b37 (patch) | |
tree | 1dadb981b6581df51ba383dd49f54a736b9dc091 /basegfx/source/range | |
parent | c2ff1b9622a1c67612719c87af593b59b9534119 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: Ib64fc63905cf44a0d32393d52ee587d0aa2d9dfa
Diffstat (limited to 'basegfx/source/range')
-rw-r--r-- | basegfx/source/range/b2drangeclipper.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/basegfx/source/range/b2drangeclipper.cxx b/basegfx/source/range/b2drangeclipper.cxx index 254912e50443..1e4bb4f4d6b7 100644 --- a/basegfx/source/range/b2drangeclipper.cxx +++ b/basegfx/source/range/b2drangeclipper.cxx @@ -244,7 +244,7 @@ namespace basegfx /** Create polygon */ ImplPolygon() : - mpLeadingRightEdge(NULL), + mpLeadingRightEdge(nullptr), mnIdx(-1), maPoints(), mbIsFinished(false) @@ -454,7 +454,7 @@ namespace basegfx ActiveEdge* const pFarEdge=rTmp.mpLeadingRightEdge; ActiveEdge* const pNearEdge=&rActiveEdge; - rTmp.mpLeadingRightEdge = NULL; + rTmp.mpLeadingRightEdge = nullptr; pNearEdge->setTargetPolygonIndex(nTmpIdx); mpLeadingRightEdge = pFarEdge; @@ -476,7 +476,7 @@ namespace basegfx rActiveEdge.setTargetPolygonIndex(mnIdx); mpLeadingRightEdge = &rActiveEdge; - rTmp.mpLeadingRightEdge = NULL; + rTmp.mpLeadingRightEdge = nullptr; return nTmpIdx; } @@ -509,7 +509,7 @@ namespace basegfx "ImplPolygon::finish(): first and last point violate 90 degree line angle constraint!" ); mbIsFinished = true; - mpLeadingRightEdge = NULL; + mpLeadingRightEdge = nullptr; rRes.append(getPolygon()); } |