bug 113680 fix for horizontal rule strangeness after tables. when reflowing tables, do not reflow beyond the last cell
git-svn-id: svn://10.0.0.236/trunk@3713 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
c13dcad447
commit
056b81d373
@ -2061,8 +2061,9 @@ void CEditBuffer::Reflow( CEditElement* pStartElement,
|
||||
if ( pEndElement ) {
|
||||
CEditElement* pTable = pEndElement->GetTopmostTableOrLayer();
|
||||
if ( m_bDisplayTables && pTable) {
|
||||
// If this is in a table, skip after it.
|
||||
pEndElement = pTable->GetLastMostChild()->NextLeaf();
|
||||
// If this is in a table, skip after it.
|
||||
//do not go beyond the last cell for reflow. bad things happed when we reflow the wrong things
|
||||
pEndElement = pTable->GetLastMostChild();//->NextLeaf();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user