diff --git a/sw/source/ui/dbui/dbinsdlg.cxx b/sw/source/ui/dbui/dbinsdlg.cxx index 617da5ae4df1..3797e7b3997a 100644 --- a/sw/source/ui/dbui/dbinsdlg.cxx +++ b/sw/source/ui/dbui/dbinsdlg.cxx @@ -710,7 +710,7 @@ IMPL_LINK( SwInsertDBColAutoPilot, TblFmtHdl, PushButton*, pButton ) SwTabCols aTabCols; aTabCols.SetRight( nWidth ); aTabCols.SetRightMax( nWidth ); - pRep = new SwTableRep( aTabCols, sal_False ); + pRep = new SwTableRep( aTabCols ); pRep->SetAlign( text::HoriOrientation::NONE ); pRep->SetSpace( nWidth ); pRep->SetWidth( nWidth ); @@ -736,7 +736,7 @@ IMPL_LINK( SwInsertDBColAutoPilot, TblFmtHdl, PushButton*, pButton ) aTabCols.Insert( nW, sal_False, n ); } delete pRep; - pRep = new SwTableRep( aTabCols, sal_False ); + pRep = new SwTableRep( aTabCols ); pRep->SetAlign( text::HoriOrientation::NONE ); pRep->SetSpace( nWidth ); pRep->SetWidth( nWidth ); diff --git a/sw/source/ui/inc/swtablerep.hxx b/sw/source/ui/inc/swtablerep.hxx index 996d0b26cc41..6efa1edf1187 100644 --- a/sw/source/ui/inc/swtablerep.hxx +++ b/sw/source/ui/inc/swtablerep.hxx @@ -38,13 +38,12 @@ class SW_DLLPUBLIC SwTableRep sal_uInt16 nColCount; sal_uInt16 nAllCols; sal_uInt16 nWidthPercent; - bool bComplex : 1; sal_Bool bLineSelected : 1; sal_Bool bWidthChanged : 1; sal_Bool bColsChanged : 1; public: - SwTableRep( const SwTabCols& rTabCol, bool bComplex ); + SwTableRep( const SwTabCols& rTabCol ); ~SwTableRep(); sal_Bool FillTabCols( SwTabCols& rTabCol ) const; diff --git a/sw/source/ui/shells/tabsh.cxx b/sw/source/ui/shells/tabsh.cxx index db27f1da2ec5..ff1e40116434 100644 --- a/sw/source/ui/shells/tabsh.cxx +++ b/sw/source/ui/shells/tabsh.cxx @@ -214,7 +214,7 @@ static SwTableRep* lcl_TableParamToItemSet( SfxItemSet& rSet, SwWrtShell &rSh ) // Pointer wird nach der Dialogausfuehrung geloescht - SwTableRep* pRep = new SwTableRep( aTabCols, rSh.IsTblComplex()); + SwTableRep* pRep = new SwTableRep( aTabCols ); pRep->SetSpace(aCols.GetRightMax()); sal_uInt16 nPercent = 0; diff --git a/sw/source/ui/table/swtablerep.cxx b/sw/source/ui/table/swtablerep.cxx index 08d11669843e..4fddcae6b57c 100644 --- a/sw/source/ui/table/swtablerep.cxx +++ b/sw/source/ui/table/swtablerep.cxx @@ -55,7 +55,7 @@ #include "swtablerep.hxx" -SwTableRep::SwTableRep( const SwTabCols& rTabCol, bool bCplx ) +SwTableRep::SwTableRep( const SwTabCols& rTabCol ) : nTblWidth(0), nSpace(0), @@ -63,7 +63,6 @@ SwTableRep::SwTableRep( const SwTabCols& rTabCol, bool bCplx ) nRightSpace(0), nAlign(0), nWidthPercent(0), - bComplex(bCplx), bLineSelected(sal_False), bWidthChanged(sal_False), bColsChanged(sal_False)