summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-10-17 13:47:06 +0300
committerTor Lillqvist <tlillqvist@suse.com>2011-10-17 14:09:03 +0300
commite4d1c22aa1a2c44e92543566f100a800b295f009 (patch)
treead138d40a0a6f63acb078ff66d33526383cfaa63 /xmloff
parent6a15a2898b7f822ddfba23553dd127e25af15fff (diff)
WaE: potentially uninitialized local variable 'nColor' used
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/style/bordrhdl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/bordrhdl.cxx b/xmloff/source/style/bordrhdl.cxx
index 13179811bd89..a959e9c3b06c 100644
--- a/xmloff/source/style/bordrhdl.cxx
+++ b/xmloff/source/style/bordrhdl.cxx
@@ -219,7 +219,7 @@ sal_Bool XMLBorderHdl::importXML( const OUString& rStrImpValue, uno::Any& rValue
sal_uInt16 nStyle = USHRT_MAX;
sal_uInt16 nWidth = 0;
sal_uInt16 nNamedWidth = USHRT_MAX;
- sal_Int32 nColor;
+ sal_Int32 nColor = 0;
sal_Int32 nTemp;
while( aTokens.getNextToken( aToken ) && aToken.getLength() != 0 )