diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2019-11-24 20:26:22 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-11-24 21:46:23 +0100 |
commit | d2c9e289733df395b911a46c1028014f42e75f99 (patch) | |
tree | 49911788e81a04eb88de9159dbd2b6446f4655ba /lotuswordpro/source/filter/lwptoc.cxx | |
parent | 17c3d827e12d9ca99b869132f23ba212b11f909a (diff) |
cppcheck: performing init in init list (hwpfilter, i., l.)
Change-Id: Idf5b7be45d48076fbe191fbf1a2fa63c6da71902
Reviewed-on: https://gerrit.libreoffice.org/83617
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'lotuswordpro/source/filter/lwptoc.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwptoc.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lotuswordpro/source/filter/lwptoc.cxx b/lotuswordpro/source/filter/lwptoc.cxx index 89ab770e4726..4d429ddb258c 100644 --- a/lotuswordpro/source/filter/lwptoc.cxx +++ b/lotuswordpro/source/filter/lwptoc.cxx @@ -434,10 +434,9 @@ LwpTocLevelData * LwpTocSuperLayout::GetNextSearchLevelPtr(sal_uInt16 index, Lwp return nullptr; } -LwpTocLevelData::LwpTocLevelData(LwpObjectHeader const &objHdr, LwpSvStream* pStrm):LwpDLVList(objHdr, pStrm) +LwpTocLevelData::LwpTocLevelData(LwpObjectHeader const &objHdr, LwpSvStream* pStrm) + : LwpDLVList(objHdr, pStrm), m_nFlags(0), m_nLevel(0) { - m_nFlags = 0; - m_nLevel = 0; } LwpTocLevelData::~LwpTocLevelData() { |