From 4cb05188fe07e66adc347c20e286e41bc64598ff Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Thu, 20 Jun 2013 13:08:02 -0500 Subject: [PATCH] coverity#707554 Unitialized scalar variable Change-Id: I8df87c59926a62309e2ba342fe38b4915f81b3f7 Reviewed-on: https://gerrit.libreoffice.org/4404 Reviewed-by: Eike Rathke Tested-by: Eike Rathke --- sw/source/core/edit/edtab.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/source/core/edit/edtab.cxx b/sw/source/core/edit/edtab.cxx index 1526496a1c80..a0b5de7592e2 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 ))