summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2013-05-13 17:36:12 -0500
committerBosdonnat Cedric <cedric.bosdonnat@free.fr>2013-05-14 13:43:12 +0000
commit62b1030ae59652ec8230cecabef4d5076376ef51 (patch)
treed9e96ddeebbf9945b9374280bd599f1fa1c35e0a /sw
parent62be20899d952d54e5ee5874d26ffb20b8f70eef (diff)
coverity#1019413: Unitialized scalar variable
Change-Id: Ia0a2a1a137176f2f2176b2c16cd7a747d9bc9b52 Reviewed-on: https://gerrit.libreoffice.org/3895 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/html/svxcss1.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/filter/html/svxcss1.cxx b/sw/source/filter/html/svxcss1.cxx
index 600b447778c6..7c3369d724b7 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;