[Libreoffice-commits] core.git: sw/source
Tor Lillqvist
tlillqvist at suse.com
Thu Aug 8 01:01:57 PDT 2013
sw/source/filter/html/svxcss1.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d39feeb20027e9c0ded324c9d0df9784a6707194
Author: Tor Lillqvist <tlillqvist at suse.com>
Date: Thu Aug 8 10:48:17 2013 +0300
WaE: C4701: potentially uninitialized local variable 'nValue' used
Change-Id: Id753eab9cab3e97e69b48212820dc140f897f1bd
diff --git a/sw/source/filter/html/svxcss1.cxx b/sw/source/filter/html/svxcss1.cxx
index a065c3c..006227a 100644
--- a/sw/source/filter/html/svxcss1.cxx
+++ b/sw/source/filter/html/svxcss1.cxx
@@ -2776,7 +2776,7 @@ static void ParseCSS1_border_style( const CSS1Expression *pExpr,
while( n<4 && pExpr && !pExpr->GetOp() )
{
sal_uInt16 nLine = n==0 || n==2 ? BOX_LINE_BOTTOM : BOX_LINE_LEFT;
- sal_uInt16 nValue;
+ sal_uInt16 nValue = 0;
if( CSS1_IDENT==pExpr->GetType() &&
SvxCSS1Parser::GetEnum( aBorderStyleTable, pExpr->GetString(),
nValue ) )
More information about the Libreoffice-commits
mailing list