Kaydet (Commit) 0fe96112 authored tarafından Jochen Nitschke's avatar Jochen Nitschke Kaydeden (comit) Noel Grandin

cppcheck: useInitializationList

Change-Id: I7b3cce8d84176c13801a906af79e353a541135ce
Reviewed-on: https://gerrit.libreoffice.org/51240Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst ed2ae3c3
......@@ -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)
......
......@@ -451,11 +451,8 @@ void Decompression::fillArray()
}
}
HuffmanTreeNode::HuffmanTreeNode(sal_uInt32 nValue )
HuffmanTreeNode::HuffmanTreeNode(sal_uInt32 nValue):value(nValue)
{
value = nValue;
left = nullptr;
right = nullptr;
}
HuffmanTreeNode::~HuffmanTreeNode()
{
......
......@@ -80,7 +80,6 @@ class LwpVirtualPiece : public LwpDLVList
public:
LwpVirtualPiece(LwpObjectHeader const & objHdr, LwpSvStream* pStrm):LwpDLVList(objHdr, pStrm)
{
m_pOverride = nullptr;
}
virtual void Read() override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment