Kaydet (Commit) 013ec10d authored tarafından Miklos Vajna's avatar Miklos Vajna

i#84172 RTF import: handle nested groups inside redlines

The problem was that in case we had {\revised foo {bar}}, then we only
started a redline before "foo", but we ended it twice: during handling
of both "}". Make sure that the end of the redline is only handled by
the second one.

Change-Id: I41ab8b486e8615d3479fa0fadd6016476859b4b2
üst 9f06a098
{\rtf1
{\*\revtbl
{Unknown;}
}
\par \pard\plain
{
{\revised\revauth1\revdttm-1497631607 foo
{bar}
}
}
}
......@@ -4877,6 +4877,11 @@ int RTFDocumentImpl::pushState()
break;
}
// If this is true, then ooxml:endtrackchange will be generated. Make sure
// we don't generate more ooxml:endtrackchange than ooxml:trackchange: new
// state does not inherit this flag.
m_aStates.top().bStartedTrackchange = false;
return 0;
}
......
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