editeng/source/items/frmitems.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2c7a532b7e2b8cf41792292610df96755b131987
Author: Caolán McNamara <[email protected]>
Date:   Thu Feb 23 13:27:15 2012 +0000

    WaE: nWidth might be unused uninitialized

diff --git a/editeng/source/items/frmitems.cxx 
b/editeng/source/items/frmitems.cxx
index b10218d..0cde9c4 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 );
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to