summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-11 14:32:07 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-11 14:32:07 +0200
commitf541b99855bd70781f8d7d655ab259ff9eb596f0 (patch)
tree162ea1823d835f484f08aaaf2390a9130a23d5e9 /tools
parent545d5157f26b7fd3c5648ae6e727b1e1addca68f (diff)
loplugin:nullptr: Better heuristic to determine code shared between C and C++
Change-Id: I51e1c5fa4639e51fac90f92adf3d87d12960d589
Diffstat (limited to 'tools')
-rw-r--r--tools/inc/poly.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/inc/poly.h b/tools/inc/poly.h
index f15f01f13654..69d2de298563 100644
--- a/tools/inc/poly.h
+++ b/tools/inc/poly.h
@@ -36,13 +36,13 @@ class SAL_WARN_UNUSED ImplPolygon : public ImplPolygonData
{
public:
ImplPolygon( sal_uInt16 nInitSize, bool bFlags = false );
- ImplPolygon( sal_uInt16 nPoints, const Point* pPtAry, const sal_uInt8* pInitFlags = NULL );
+ ImplPolygon( sal_uInt16 nPoints, const Point* pPtAry, const sal_uInt8* pInitFlags = nullptr );
ImplPolygon( const ImplPolygon& rImplPoly );
~ImplPolygon();
void ImplSetSize( sal_uInt16 nSize, bool bResize = true );
void ImplCreateFlagArray();
- void ImplSplit( sal_uInt16 nPos, sal_uInt16 nSpace, ImplPolygon* pInitPoly = NULL );
+ void ImplSplit( sal_uInt16 nPos, sal_uInt16 nSpace, ImplPolygon* pInitPoly = nullptr );
};
#define MAX_POLYGONS ((sal_uInt16)0x3FF0)
@@ -61,7 +61,7 @@ public:
sal_uInt16 mnResize;
ImplPolyPolygon( sal_uInt16 nInitSize, sal_uInt16 nResize )
- { mpPolyAry = NULL; mnCount = 0; mnRefCount = 1;
+ { mpPolyAry = nullptr; mnCount = 0; mnRefCount = 1;
mnSize = nInitSize; mnResize = nResize; }
ImplPolyPolygon( sal_uInt16 nInitSize );
ImplPolyPolygon( const ImplPolyPolygon& rImplPolyPoly );