Kaydet (Commit) d39feeb2 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: C4701: potentially uninitialized local variable 'nValue' used

Change-Id: Id753eab9cab3e97e69b48212820dc140f897f1bd
üst cb45c6bd
...@@ -2776,7 +2776,7 @@ static void ParseCSS1_border_style( const CSS1Expression *pExpr, ...@@ -2776,7 +2776,7 @@ static void ParseCSS1_border_style( const CSS1Expression *pExpr,
while( n<4 && pExpr && !pExpr->GetOp() ) while( n<4 && pExpr && !pExpr->GetOp() )
{ {
sal_uInt16 nLine = n==0 || n==2 ? BOX_LINE_BOTTOM : BOX_LINE_LEFT; 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() && if( CSS1_IDENT==pExpr->GetType() &&
SvxCSS1Parser::GetEnum( aBorderStyleTable, pExpr->GetString(), SvxCSS1Parser::GetEnum( aBorderStyleTable, pExpr->GetString(),
nValue ) ) nValue ) )
......
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