Kaydet (Commit) 62b1030a authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud Kaydeden (comit) Bosdonnat Cedric

coverity#1019413: Unitialized scalar variable

Change-Id: Ia0a2a1a137176f2f2176b2c16cd7a747d9bc9b52
Reviewed-on: https://gerrit.libreoffice.org/3895Reviewed-by: 's avatarBosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: 's avatarBosdonnat Cedric <cedric.bosdonnat@free.fr>
üst 62be2089
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment