diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:15:32 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:25 +0100 |
commit | 3cdda9af2c12a9ae2a1f0bdf8ca898f1f5c69bfb (patch) | |
tree | ba25525cbc9661509d8f01e93164e0febb8a0894 /filter/source/graphicfilter/idxf/dxfentrd.cxx | |
parent | 7702e3128768f1b4b8a1ee9e87e397887e151af4 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I61e494952df8cc40fff3ccad0936adf06035dbeb
Diffstat (limited to 'filter/source/graphicfilter/idxf/dxfentrd.cxx')
-rw-r--r-- | filter/source/graphicfilter/idxf/dxfentrd.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/filter/source/graphicfilter/idxf/dxfentrd.cxx b/filter/source/graphicfilter/idxf/dxfentrd.cxx index 0291d5be8f85..755b9df2bc78 100644 --- a/filter/source/graphicfilter/idxf/dxfentrd.cxx +++ b/filter/source/graphicfilter/idxf/dxfentrd.cxx @@ -28,7 +28,7 @@ DXFBasicEntity::DXFBasicEntity(DXFEntityType eThisType) , m_sLineType("BYLAYER") { eType=eThisType; - pSucc=NULL; + pSucc=nullptr; fElevation=0; fThickness=0; nColor=256; @@ -411,7 +411,7 @@ DXFLWPolyLineEntity::DXFLWPolyLineEntity() : fConstantWidth( 0.0 ), fStartWidth( 0.0 ), fEndWidth( 0.0 ), - pP( NULL ) + pP( nullptr ) { } @@ -571,7 +571,7 @@ DXFBoundaryPathData::DXFBoundaryPathData() : nEdgeCount( 0 ), bIsPolyLine( true ), nPointIndex( 0 ), - pP( NULL ) + pP( nullptr ) { } @@ -662,7 +662,7 @@ DXFHatchEntity::DXFHatchEntity() : nHatchPatternDefinitionLines( 0 ), fPixelSize( 1.0 ), nNumberOfSeedPoints( 0 ), - pBoundaryPathData( NULL ) + pBoundaryPathData( nullptr ) { } @@ -803,7 +803,7 @@ void DXFEntities::Read(DXFGroupReader & rDGR) DXFBasicEntity * pE, * * ppSucc; ppSucc=&pFirst; - while (*ppSucc!=NULL) ppSucc=&((*ppSucc)->pSucc); + while (*ppSucc!=nullptr) ppSucc=&((*ppSucc)->pSucc); while (rDGR.GetG()!=0) rDGR.Read(); @@ -847,7 +847,7 @@ void DXFEntities::Clear() { DXFBasicEntity * ptmp; - while (pFirst!=NULL) { + while (pFirst!=nullptr) { ptmp=pFirst; pFirst=ptmp->pSucc; delete ptmp; |