Kaydet (Commit) d999069e authored tarafından Caolán McNamara's avatar Caolán McNamara

crashtesting: fix ~SwIndexReg assert on exporting tdf46441-2.odt to .doc

Change-Id: I770c1f5ed4ebfb216810e30de83eb053606c2f8d
üst c1b4de9d
...@@ -666,6 +666,11 @@ DECLARE_WW8EXPORT_TEST(testMoveRange, "fdo66304-1.odt") ...@@ -666,6 +666,11 @@ DECLARE_WW8EXPORT_TEST(testMoveRange, "fdo66304-1.odt")
//the save must survive without asserting //the save must survive without asserting
} }
DECLARE_WW8EXPORT_TEST(testClearFramePams, "tdf46441-2.odt")
{
//the save must survive without asserting
}
DECLARE_WW8EXPORT_TEST(testTdf94386, "tdf94386.odt") DECLARE_WW8EXPORT_TEST(testTdf94386, "tdf94386.odt")
{ {
// check that the first and next page use different page styles // check that the first and next page use different page styles
......
...@@ -3135,6 +3135,8 @@ void MSWordExportBase::ExportDocument( bool bWriteAll ) ...@@ -3135,6 +3135,8 @@ void MSWordExportBase::ExportDocument( bool bWriteAll )
ExportDocument_Impl(); ExportDocument_Impl();
m_aFrames.clear();
// park m_pCurPam in a "safe place" now that document is fully exported // park m_pCurPam in a "safe place" now that document is fully exported
// before toggling redline mode to avoid ~SwIndexReg assert e.g. export // before toggling redline mode to avoid ~SwIndexReg assert e.g. export
// ooo103014-1.odt to .doc // ooo103014-1.odt to .doc
......
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