diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2018-03-13 20:11:16 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-14 07:23:10 +0100 |
commit | 0fe96112bef31bdfc4f85db78aa4c4f2d1bf1d43 (patch) | |
tree | cf21a22ffa579209dbab4fa3d5b82268b6e3ad72 /filter | |
parent | ed2ae3c3bb0a708cafc3de6a01adc9ddc43fb859 (diff) |
cppcheck: useInitializationList
Change-Id: I7b3cce8d84176c13801a906af79e353a541135ce
Reviewed-on: https://gerrit.libreoffice.org/51240
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/graphicfilter/idxf/dxftblrd.cxx | 64 |
1 files changed, 31 insertions, 33 deletions
diff --git a/filter/source/graphicfilter/idxf/dxftblrd.cxx b/filter/source/graphicfilter/idxf/dxftblrd.cxx index 54535e9a0430..3975651ac0ea 100644 --- a/filter/source/graphicfilter/idxf/dxftblrd.cxx +++ b/filter/source/graphicfilter/idxf/dxftblrd.cxx @@ -166,40 +166,38 @@ void DXFStyle::Read(DXFGroupReader & rDGR) //----------------------------------DXFVPort----------------------------------- DXFVPort::DXFVPort() + : pSucc(nullptr) + , nFlags(0) + , fMinX(0.0) + , fMinY(0.0) + , fMaxX(0.0) + , fMaxY(0.0) + , fCenterX(0.0) + , fCenterY(0.0) + , fSnapBaseX(0.0) + , fSnapBaseY(0.0) + , fSnapSpacingX(0.0) + , fSnapSpacingY(0.0) + , fGridX(0.0) + , fGridY(0.0) + , aDirection(DXFVector(0.0, 0.0, 1.0)) + , fHeight(0.0) + , fAspectRatio(0.0) + , fLensLength(0.0) + , fFrontClipPlane(0.0) + , fBackClipPlane(0.0) + , fTwistAngle(0.0) + , nStatus(0) + , nID(0) + , nMode(0) + , nCircleZoomPercent(0) + , nFastZoom(0) + , nUCSICON(0) + , nSnap(0) + , nGrid(0) + , nSnapStyle(0) + , nSnapIsopair(0) { - pSucc=nullptr; - - nFlags=0; - fMinX=0; - fMinY=0; - fMaxX=0; - fMaxY=0; - fCenterX=0; - fCenterY=0; - fSnapBaseX=0; - fSnapBaseY=0; - fSnapSpacingX=0; - fSnapSpacingY=0; - fGridX=0; - fGridY=0; - aDirection=DXFVector(0,0,1); - aTarget=DXFVector(0,0,0); - fHeight=0; - fAspectRatio=0; - fLensLength=0; - fFrontClipPlane=0; - fBackClipPlane=0; - fTwistAngle=0; - nStatus=0; - nID=0; - nMode=0; - nCircleZoomPercent=0; - nFastZoom=0; - nUCSICON=0; - nSnap=0; - nGrid=0; - nSnapStyle=0; - nSnapIsopair=0; } void DXFVPort::Read(DXFGroupReader & rDGR) |