Kaydet (Commit) 255376ba authored tarafından Michael Stahl's avatar Michael Stahl

sw: fix crash exporting ooo72077-2.odt to DOCX

There is an assertion about empty lastOpenCell vector in
DocxAttributeOutput::SyncNodelessCells(); since i don't know
if this splitting should be done at all for paragraphs in a table,
let's disable it for now.

(regression from c1d58c46)

Change-Id: Ied67b6047b48689cba3c41b9d0f68b7c2a257ba0
üst 03db771e
......@@ -2274,7 +2274,8 @@ void MSWordExportBase::OutputTextNode( SwTextNode& rNode )
SwSoftPageBreakList softBreakList;
// Let's decide if we need to split the paragraph because of a section break
bool bNeedParaSplit = NeedTextNodeSplit( rNode, softBreakList );
bool bNeedParaSplit = NeedTextNodeSplit( rNode, softBreakList )
&& !IsInTable();
auto aBreakIt = softBreakList.begin();
// iterate through portions on different pages
......
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