Kaydet (Commit) ad50b9a8 authored tarafından Caolán McNamara's avatar Caolán McNamara

Related: fdo#78599 wrong method

Change-Id: I1a51fc5037e145e8110f3336ddc803159a905266
üst fcecc1fc
......@@ -459,6 +459,7 @@ const SwTable* SwDoc::InsertTable( const SwInsertTableOptions& rInsTblOpts,
}
SwTable& rNdTbl = pTblNd->GetTable();
rNdTbl.RegisterToFormat( *pTableFmt );
rNdTbl.SetRowsToRepeat( nRowsToRepeat );
rNdTbl.SetTableModel( bNewModel );
......@@ -1212,7 +1213,6 @@ const SwTable* SwDoc::TextToTable( const std::vector< std::vector<SwNodeRange> >
getIDocumentStylePoolAccess().GetTxtCollFromPool( RES_POOLCOLL_STANDARD )/*, pUndo*/ );
SwTable& rNdTbl = pTblNd->GetTable();
rNdTbl.RegisterToFormat(*pTableFmt);
if( !pBoxFmt->GetDepends() )
{
......
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