"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "sw/source/core/docnode/ndtbl.cxx" between
libreoffice-7.1.5.1.tar.xz and libreoffice-7.1.5.2.tar.xz

About: LibreOffice source code (core). "Fresh" packages (pre-release version).

ndtbl.cxx  (libreoffice-7.1.5.1.tar.xz):ndtbl.cxx  (libreoffice-7.1.5.2.tar.xz)
skipping to change at line 2899 skipping to change at line 2899
{ {
if( nSet == rTable.GetRowsToRepeat() ) if( nSet == rTable.GetRowsToRepeat() )
return; return;
if (GetIDocumentUndoRedo().DoesUndo()) if (GetIDocumentUndoRedo().DoesUndo())
{ {
GetIDocumentUndoRedo().AppendUndo( GetIDocumentUndoRedo().AppendUndo(
std::make_unique<SwUndoTableHeadline>(rTable, rTable.GetRowsToRepeat (), nSet) ); std::make_unique<SwUndoTableHeadline>(rTable, rTable.GetRowsToRepeat (), nSet) );
} }
rTable.SetRowsToRepeat(nSet);
const SwMsgPoolItem aChg(RES_TBLHEADLINECHG); const SwMsgPoolItem aChg(RES_TBLHEADLINECHG);
rTable.SetRowsToRepeat( nSet ); rTable.GetFrameFormat()->CallSwClientNotify(sw::LegacyModifyHint(&aChg, &aCh
rTable.GetFrameFormat()->GetNotifier().Broadcast(sw::LegacyModifyHint(&aChg, g));
&aChg));
getIDocumentState().SetModified(); getIDocumentState().SetModified();
} }
void SwCollectTableLineBoxes::AddToUndoHistory( const SwContentNode& rNd ) void SwCollectTableLineBoxes::AddToUndoHistory( const SwContentNode& rNd )
{ {
if( m_pHistory ) if( m_pHistory )
m_pHistory->Add( rNd.GetFormatColl(), rNd.GetIndex(), SwNodeType::Text ) ; m_pHistory->Add( rNd.GetFormatColl(), rNd.GetIndex(), SwNodeType::Text ) ;
} }
void SwCollectTableLineBoxes::AddBox( const SwTableBox& rBox ) void SwCollectTableLineBoxes::AddBox( const SwTableBox& rBox )
 End of changes. 2 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)