summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2013-08-08 10:48:17 +0300
committerTor Lillqvist <tlillqvist@suse.com>2013-08-08 11:01:17 +0300
commitd39feeb20027e9c0ded324c9d0df9784a6707194 (patch)
treee4c07717191996465a1f56b9af83c109fc8e4adb /sw
parentcb45c6bd429430e5158d150acf4590885dfba766 (diff)
WaE: C4701: potentially uninitialized local variable 'nValue' used
Change-Id: Id753eab9cab3e97e69b48212820dc140f897f1bd
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/html/svxcss1.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/html/svxcss1.cxx b/sw/source/filter/html/svxcss1.cxx
index a065c3ccf0ab..006227a5d56e 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 ) )