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@gmail.com>
Context
- [PATCH] coverity#1019413: Unitialized scalar variable · Norbert Thiebaud (via Code Review)
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.