summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:10:29 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:16 +0100
commita17cde058213f962b8de880de6f5b1e4f2061b37 (patch)
tree1dadb981b6581df51ba383dd49f54a736b9dc091 /include
parentc2ff1b9622a1c67612719c87af593b59b9534119 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: Ib64fc63905cf44a0d32393d52ee587d0aa2d9dfa
Diffstat (limited to 'include')
-rw-r--r--include/basegfx/polygon/b2dlinegeometry.hxx2
-rw-r--r--include/basegfx/polygon/b2dpolygontools.hxx6
-rw-r--r--include/basegfx/polygon/b2dpolypolygontools.hxx2
-rw-r--r--include/basegfx/polygon/b3dpolygontools.hxx2
4 files changed, 6 insertions, 6 deletions
diff --git a/include/basegfx/polygon/b2dlinegeometry.hxx b/include/basegfx/polygon/b2dlinegeometry.hxx
index 5002dfc83d5f..a3de97c62968 100644
--- a/include/basegfx/polygon/b2dlinegeometry.hxx
+++ b/include/basegfx/polygon/b2dlinegeometry.hxx
@@ -77,7 +77,7 @@ namespace basegfx
double fWidth,
double fCandidateLength = 0.0, // 0.0 -> calculate self
double fDockingPosition = 0.5, // 0->top, 1->bottom
- double* pConsumedLength = 0L,
+ double* pConsumedLength = nullptr,
double fShift = 0.0);
/** create filled polygon geometry for lines with a line width
diff --git a/include/basegfx/polygon/b2dpolygontools.hxx b/include/basegfx/polygon/b2dpolygontools.hxx
index 3edf22e1a100..70853afa137e 100644
--- a/include/basegfx/polygon/b2dpolygontools.hxx
+++ b/include/basegfx/polygon/b2dpolygontools.hxx
@@ -147,7 +147,7 @@ namespace basegfx
const B2DPoint& rEdge1Start, const B2DVector& rEdge1Delta,
const B2DPoint& rEdge2Start, const B2DVector& rEdge2Delta,
CutFlagValue aCutFlags = CutFlagValue::DEFAULT,
- double* pCut1 = 0L, double* pCut2 = 0L);
+ double* pCut1 = nullptr, double* pCut2 = nullptr);
// test if point is on the given edge in range ]0.0..1.0[ without
// the start/end points. If so, return true and put the parameter
@@ -156,7 +156,7 @@ namespace basegfx
const B2DPoint& rPoint,
const B2DPoint& rEdgeStart,
const B2DVector& rEdgeDelta,
- double* pCut = 0L);
+ double* pCut = nullptr);
/** Apply given LineDashing to given polygon
@@ -195,7 +195,7 @@ namespace basegfx
const B2DPolygon& rCandidate,
const ::std::vector<double>& rDotDashArray,
B2DPolyPolygon* pLineTarget,
- B2DPolyPolygon* pGapTarget = 0,
+ B2DPolyPolygon* pGapTarget = nullptr,
double fFullDashDotLen = 0.0);
// test if point is inside epsilon-range around an edge defined
diff --git a/include/basegfx/polygon/b2dpolypolygontools.hxx b/include/basegfx/polygon/b2dpolypolygontools.hxx
index 4059e22e35bb..8d5d50f9afda 100644
--- a/include/basegfx/polygon/b2dpolypolygontools.hxx
+++ b/include/basegfx/polygon/b2dpolypolygontools.hxx
@@ -95,7 +95,7 @@ namespace basegfx
const B2DPolyPolygon& rCandidate,
const ::std::vector<double>& rDotDashArray,
B2DPolyPolygon* pLineTarget,
- B2DPolyPolygon* pGapTarget = 0,
+ B2DPolyPolygon* pGapTarget = nullptr,
double fFullDashDotLen = 0.0);
// test if point is inside epsilon-range around the given PolyPolygon. Can be used
diff --git a/include/basegfx/polygon/b3dpolygontools.hxx b/include/basegfx/polygon/b3dpolygontools.hxx
index 49ba730555e1..d6e01ef05e7e 100644
--- a/include/basegfx/polygon/b3dpolygontools.hxx
+++ b/include/basegfx/polygon/b3dpolygontools.hxx
@@ -66,7 +66,7 @@ namespace basegfx
const B3DPolygon& rCandidate,
const ::std::vector<double>& rDotDashArray,
B3DPolyPolygon* pLineTarget,
- B3DPolyPolygon* pGapTarget = 0,
+ B3DPolyPolygon* pGapTarget = nullptr,
double fFullDashDotLen = 0.0);
/** Create/replace normals for given 3d geometry with default normals from given center to outside.