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 /lotuswordpro | |
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 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/explode.cxx | 5 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwppiece.hxx | 1 |
2 files changed, 1 insertions, 5 deletions
diff --git a/lotuswordpro/source/filter/explode.cxx b/lotuswordpro/source/filter/explode.cxx index 207346c55a26..731c6bc099d9 100644 --- a/lotuswordpro/source/filter/explode.cxx +++ b/lotuswordpro/source/filter/explode.cxx @@ -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() { diff --git a/lotuswordpro/source/filter/lwppiece.hxx b/lotuswordpro/source/filter/lwppiece.hxx index 1aaa7453d272..5bfbae7e64bd 100644 --- a/lotuswordpro/source/filter/lwppiece.hxx +++ b/lotuswordpro/source/filter/lwppiece.hxx @@ -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 |