summaryrefslogtreecommitdiffstats
path: root/editeng
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-02-23 13:27:15 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-02-23 13:27:15 +0000
commit2c7a532b7e2b8cf41792292610df96755b131987 (patch)
tree2b0956c91a517c9d1269e6349f23e99dc95a3d40 /editeng
parentFix CLucene _DEBUG code (diff)
downloadcore-2c7a532b7e2b8cf41792292610df96755b131987.tar.gz
core-2c7a532b7e2b8cf41792292610df96755b131987.zip
WaE: nWidth might be unused uninitialized
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/items/frmitems.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx
index b10218d770b3..0cde9c437c46 100644
--- a/editeng/source/items/frmitems.cxx
+++ b/editeng/source/items/frmitems.cxx
@@ -1953,7 +1953,7 @@ bool SvxBoxItem::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId )
case LINE_WIDTH:
{
// Set the line width on all borders
- long nWidth;
+ long nWidth(0);
rVal >>= nWidth;
if( bConvert )
nWidth = MM100_TO_TWIP( nWidth );