[Libreoffice-commits] core.git: sw/source
Norbert Thiebaud
nthiebaud at gmail.com
Tue May 14 06:43:33 PDT 2013
sw/source/filter/html/svxcss1.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 62b1030ae59652ec8230cecabef4d5076376ef51
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Mon May 13 17:36:12 2013 -0500
coverity#1019413: Unitialized scalar variable
Change-Id: Ia0a2a1a137176f2f2176b2c16cd7a747d9bc9b52
Reviewed-on: https://gerrit.libreoffice.org/3895
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat at free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat at free.fr>
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 @@ SvxCSS1PropertyInfo::SvxCSS1PropertyInfo( const SvxCSS1PropertyInfo& rProp ) :
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 @@ void SvxCSS1PropertyInfo::Clear()
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;
More information about the Libreoffice-commits
mailing list