diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2013-06-20 13:15:53 -0500 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-06-21 11:31:26 +0000 |
commit | 0139e0b1cd4e4ac585417f0c71be10a419711b9d (patch) | |
tree | 3d90f24e87b87241a507a131825fc7a45d3ddaa3 /sw | |
parent | 4cb05188fe07e66adc347c20e286e41bc64598ff (diff) |
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>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/doc/htmltbl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/doc/htmltbl.cxx b/sw/source/core/doc/htmltbl.cxx index d1a784b1beae..9e0e7075c5d0 100644 --- a/sw/source/core/doc/htmltbl.cxx +++ b/sw/source/core/doc/htmltbl.cxx @@ -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 ) |