[Libreoffice-commits] .: binfilter/bf_svx

Caolán McNamara caolan at kemper.freedesktop.org
Mon Nov 7 15:10:40 PST 2011


 binfilter/bf_svx/source/items/svx_frmitems.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 4cb1bac47d10c533ca59318612b6fcd0f3503753
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Nov 7 19:26:32 2011 +0000

    WaE: uninitialized

diff --git a/binfilter/bf_svx/source/items/svx_frmitems.cxx b/binfilter/bf_svx/source/items/svx_frmitems.cxx
index 3122f6c..85fb58c 100644
--- a/binfilter/bf_svx/source/items/svx_frmitems.cxx
+++ b/binfilter/bf_svx/source/items/svx_frmitems.cxx
@@ -1119,12 +1119,12 @@ int SvxBoxItem::operator==( const SfxPoolItem& rAttr ) const
 /*N*/ {
 /*N*/   sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
 /*N*/   table::BorderLine aRetLine;
-/*N*/   sal_uInt16 nDist;
+/*N*/   sal_uInt16 nDist(0);
 /*N*/   sal_Bool bDistMember = sal_False;
 /*N*/   nMemberId &= ~CONVERT_TWIPS;
 /*N*/   switch(nMemberId)
 /*N*/   {
-/*N*/         case MID_LEFT_BORDER:
+/*N*/       case MID_LEFT_BORDER:
 /*N*/       case LEFT_BORDER:
 /*N*/           aRetLine = lcl_SvxLineToLine(GetLeft(), bConvert);
 /*N*/           break;


More information about the Libreoffice-commits mailing list