[PATCH] coverity#1019413: Unitialized scalar variable

Norbert Thiebaud (via Code Review) gerrit at gerrit.libreoffice.org
Mon May 13 15:37:02 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/3895

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/95/3895/1

coverity#1019413: Unitialized scalar variable

Change-Id: Ia0a2a1a137176f2f2176b2c16cd7a747d9bc9b52
---
M sw/source/filter/html/svxcss1.cxx
1 file changed, 4 insertions(+), 0 deletions(-)



diff --git a/sw/source/filter/html/svxcss1.cxx b/sw/source/filter/html/svxcss1.cxx
index 600b447..7c3369d 100644
--- a/sw/source/filter/html/svxcss1.cxx
+++ b/sw/source/filter/html/svxcss1.cxx
@@ -373,6 +373,7 @@
     nBottomBorderDistance( rProp.nBottomBorderDistance ),
     nLeftBorderDistance( rProp.nLeftBorderDistance ),
     nRightBorderDistance( rProp.nRightBorderDistance ),
+    nColumnCount( rProp.nColumnCount ),
     nLeft( rProp.nLeft ),
     nTop( rProp.nTop ),
     nWidth( rProp.nWidth ),
@@ -420,6 +421,9 @@
     ePosition = SVX_CSS1_POS_NONE;
     nTopBorderDistance = nBottomBorderDistance =
     nLeftBorderDistance = nRightBorderDistance = USHRT_MAX;
+
+    nColumnCount = 0;
+
     nLeft = nTop = nWidth = nHeight = 0;
     eLeftType = eTopType = eWidthType = eHeightType = SVX_CSS1_LTYPE_NONE;
 

-- 
To view, visit https://gerrit.libreoffice.org/3895
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia0a2a1a137176f2f2176b2c16cd7a747d9bc9b52
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Norbert Thiebaud <nthiebaud at gmail.com>



More information about the LibreOffice mailing list