Related: fdo#78599 ensure RegisterFormat is called before SetModified
TextToTable is called which calls lcl_SetTableBoxWidths2 which calls SwDoc::MakeTableBoxFmt which calls SetModified. there happens to be a listener on modified which tries to get an updated preview for embedded objects which draws the page to a metafile, but this SwTableNode in SwTableNode::MakeFrm doesn't have a FrmFmt set on it yet, so falls over and dies. Move the RegisterFormat into SwNodes::TextToTable before the tablebox widths are set to avoid this Change-Id: I3e5141c9901ff0f473e2eaab3e5cd9be61f810bd
Showing
Please
register
or
sign in
to comment