coverity#707550, coverity#707549 : Unitialized scalar variable
Change-Id: I36026768fb51ed80a70addfcad9b831d8e7e6d7c Reviewed-on: https://gerrit.libreoffice.org/4405 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
This commit is contained in:
committed by
Eike Rathke
parent
4cb05188fe
commit
0139e0b1cd
@@ -1212,7 +1212,7 @@ void SwHTMLTableLayout::AutoLayoutPass2( sal_uInt16 nAbsAvail, sal_uInt16 nRelAv
|
||||
sal_uLong nRealMin = 0;
|
||||
for( sal_uInt16 i=0; i<nCols; i++ )
|
||||
{
|
||||
sal_uLong nRealColMin = MINLAY, nDummy1, nDummy2;
|
||||
sal_uLong nRealColMin = MINLAY, nDummy1 = 0, nDummy2 = 0;
|
||||
AddBorderWidth( nRealColMin, nDummy1, nDummy2, i, 1 );
|
||||
nRealMin += nRealColMin;
|
||||
}
|
||||
@@ -1261,7 +1261,7 @@ void SwHTMLTableLayout::AutoLayoutPass2( sal_uInt16 nAbsAvail, sal_uInt16 nRelAv
|
||||
{
|
||||
pColumn = GetColumn( i );
|
||||
sal_uLong nColMin = pColumn->GetMin();
|
||||
sal_uLong nRealColMin = MINLAY, nDummy1, nDummy2;
|
||||
sal_uLong nRealColMin = MINLAY, nDummy1 = 0, nDummy2 = 0;
|
||||
AddBorderWidth( nRealColMin, nDummy1, nDummy2, i, 1 );
|
||||
|
||||
if( nColMin <= USHRT_MAX )
|
||||
|
Reference in New Issue
Block a user