[Libreoffice-commits] core.git: sw/source

Julien Nabet serval2412 at yahoo.fr
Sun Aug 13 19:35:38 UTC 2017


 sw/source/filter/ww8/ww8par6.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 6801d00ccd3878b0e90ceb7c1d9ff599c384a240
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Aug 13 21:33:20 2017 +0200

    cppcheck: really remove the memset
    
    Change-Id: Ic84e5ca6175d718548e9ee4f9f406ffc899f791a
    Reviewed-on: https://gerrit.libreoffice.org/41121
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
    Tested-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx
index ab5f48cf15af..c1448caa28f5 100644
--- a/sw/source/filter/ww8/ww8par6.cxx
+++ b/sw/source/filter/ww8/ww8par6.cxx
@@ -1806,8 +1806,6 @@ nLineSpace(0),
 bAutoWidth(false),
 bToggelPos(false)
 {
-    memset( this, 0, sizeof( WW8SwFlyPara ) );  // initialize
-
     //#i119466 mapping "Around" wrap setting to "Parallel" for table
     const bool bIsTable = rIo.m_xPlcxMan->HasParaSprm(0x2416).pSprm;
     if (bIsTable && rWW.nSp37 == 2)


More information about the Libreoffice-commits mailing list