Kaydet (Commit) ece88aed authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

coverity#984155 : Uninitialized scalar field

Change-Id: I02d2ef35d6d66faf8bc0e7431116ece03e2605fd
üst c1487cf7
...@@ -164,35 +164,58 @@ SwHTMLTableLayoutConstraints *SwHTMLTableLayoutConstraints::InsertNext( ...@@ -164,35 +164,58 @@ SwHTMLTableLayoutConstraints *SwHTMLTableLayoutConstraints::InsertNext(
typedef SwHTMLTableLayoutColumn *SwHTMLTableLayoutColumnPtr; typedef SwHTMLTableLayoutColumn *SwHTMLTableLayoutColumnPtr;
typedef SwHTMLTableLayoutCell *SwHTMLTableLayoutCellPtr; typedef SwHTMLTableLayoutCell *SwHTMLTableLayoutCellPtr;
SwHTMLTableLayout::SwHTMLTableLayout( SwHTMLTableLayout::SwHTMLTableLayout( const SwTable * pSwTbl,
const SwTable * pSwTbl, sal_uInt16 nRws, sal_uInt16 nCls,
sal_uInt16 nRws, sal_uInt16 nCls, bool bColsOpt, bool bColTgs, bool bColsOpt, bool bColTgs,
sal_uInt16 nWdth, bool bPrcWdth, sal_uInt16 nBorderOpt, sal_uInt16 nWdth, bool bPrcWdth,
sal_uInt16 nCellPad, sal_uInt16 nCellSp, SvxAdjust eAdjust, sal_uInt16 nBorderOpt, sal_uInt16 nCellPad,
sal_uInt16 nCellSp, SvxAdjust eAdjust,
sal_uInt16 nLMargin, sal_uInt16 nRMargin, sal_uInt16 nLMargin, sal_uInt16 nRMargin,
sal_uInt16 nBWidth, sal_uInt16 nLeftBWidth, sal_uInt16 nBWidth, sal_uInt16 nLeftBWidth,
sal_uInt16 nRightBWidth, sal_uInt16 nRightBWidth,
sal_uInt16 nInhLeftBWidth, sal_uInt16 nInhRightBWidth ) : sal_uInt16 nInhLeftBWidth,
aColumns( new SwHTMLTableLayoutColumnPtr[nCls] ), sal_uInt16 nInhRightBWidth )
aCells( new SwHTMLTableLayoutCellPtr[nRws*nCls] ), : aColumns( new SwHTMLTableLayoutColumnPtr[nCls] )
pSwTable( pSwTbl ), pLeftFillerBox( 0 ), pRightFillerBox( 0 ), , aCells( new SwHTMLTableLayoutCellPtr[nRws*nCls] )
nMin( 0 ), nMax( 0 ), , pSwTable( pSwTbl )
nRows( nRws ), nCols( nCls ), , pLeftFillerBox( 0 )
nLeftMargin( nLMargin ), nRightMargin( nRMargin ), , pRightFillerBox( 0 )
nInhAbsLeftSpace( 0 ), nInhAbsRightSpace( 0 ), , nMin( 0 )
nRelLeftFill( 0 ), nRelRightFill( 0 ), , nMax( 0 )
nRelTabWidth( 0 ), nWidthOption( nWdth ), , nRows( nRws )
nCellPadding( nCellPad ), nCellSpacing( nCellSp ), nBorder( nBorderOpt ), , nCols( nCls )
nLeftBorderWidth( nLeftBWidth ), nRightBorderWidth( nRightBWidth ), , nLeftMargin( nLMargin )
nInhLeftBorderWidth( nInhLeftBWidth ), , nRightMargin( nRMargin )
nInhRightBorderWidth( nInhRightBWidth ), , nInhAbsLeftSpace( 0 )
nBorderWidth( nBWidth ), , nInhAbsRightSpace( 0 )
nDelayedResizeAbsAvail( 0 ), nLastResizeAbsAvail( 0 ), , nRelLeftFill( 0 )
nPass1Done( 0 ), nWidthSet( 0 ), eTableAdjust( eAdjust ), , nRelRightFill( 0 )
bColsOption( bColsOpt ), bColTags( bColTgs ), , nRelTabWidth( 0 )
bPrcWidthOption( bPrcWdth ), bUseRelWidth( false ), , nWidthOption( nWdth )
bMustResize( sal_True ), bExportable( sal_True ), bBordersChanged( sal_False ), , nCellPadding( nCellPad )
bMustNotResize( sal_False ), bMustNotRecalc( sal_False ) , nCellSpacing( nCellSp )
, nBorder( nBorderOpt )
, nLeftBorderWidth( nLeftBWidth )
, nRightBorderWidth( nRightBWidth )
, nInhLeftBorderWidth( nInhLeftBWidth )
, nInhRightBorderWidth( nInhRightBWidth )
, nBorderWidth( nBWidth )
, nDelayedResizeAbsAvail( 0 )
, nLastResizeAbsAvail( 0 )
, nPass1Done( 0 )
, nWidthSet( 0 )
, eTableAdjust( eAdjust )
, bColsOption( bColsOpt )
, bColTags( bColTgs )
, bPrcWidthOption( bPrcWdth )
, bUseRelWidth( false )
, bMustResize( sal_True )
, bExportable( sal_True )
, bBordersChanged( sal_False )
, bMayBeInFlyFrame( sal_False )
, bDelayedResizeRecalc( sal_False)
, bMustNotResize( sal_False )
, bMustNotRecalc( sal_False )
{ {
aResizeTimer.SetTimeoutHdl( STATIC_LINK( this, SwHTMLTableLayout, aResizeTimer.SetTimeoutHdl( STATIC_LINK( this, SwHTMLTableLayout,
DelayedResize_Impl ) ); DelayedResize_Impl ) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment