[Libreoffice-commits] core.git: sw/source

Norbert Thiebaud nthiebaud at gmail.com
Fri Jun 21 04:30:18 PDT 2013


 sw/source/core/edit/edtab.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4cb05188fe07e66adc347c20e286e41bc64598ff
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Thu Jun 20 13:08:02 2013 -0500

    coverity#707554 Unitialized scalar variable
    
    Change-Id: I8df87c59926a62309e2ba342fe38b4915f81b3f7
    Reviewed-on: https://gerrit.libreoffice.org/4404
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Tested-by: Eike Rathke <erack at redhat.com>

diff --git a/sw/source/core/edit/edtab.cxx b/sw/source/core/edit/edtab.cxx
index 1526496..a0b5de7 100644
--- a/sw/source/core/edit/edtab.cxx
+++ b/sw/source/core/edit/edtab.cxx
@@ -382,7 +382,7 @@ sal_Bool SwEditShell::IsTableBoxTextFormat() const
     if( !pBox )
         return sal_False;
 
-    sal_uInt32 nFmt;
+    sal_uInt32 nFmt = 0;
     const SfxPoolItem* pItem;
     if( SFX_ITEM_SET == pBox->GetFrmFmt()->GetAttrSet().GetItemState(
         RES_BOXATR_FORMAT, sal_True, &pItem ))


More information about the Libreoffice-commits mailing list