diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-17 13:47:06 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-17 14:09:03 +0300 |
commit | e4d1c22aa1a2c44e92543566f100a800b295f009 (patch) | |
tree | ad138d40a0a6f63acb078ff66d33526383cfaa63 /xmloff | |
parent | Styles cleanup: forgot to remove some bits (diff) | |
download | core-e4d1c22aa1a2c44e92543566f100a800b295f009.tar.gz core-e4d1c22aa1a2c44e92543566f100a800b295f009.zip |
WaE: potentially uninitialized local variable 'nColor' used
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/style/bordrhdl.cxx | 2 |
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 ) |