From 81a6835048d1f2e01432b8765e696f8b3529bed3 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 3 Sep 2018 17:20:21 +0100 Subject: ofz#10198 reset uncommitted fly stuff & pams before applying redlining MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I2a2587ec4590926f7cffc2a4d58a22d9d5f19c99 Reviewed-on: https://gerrit.libreoffice.org/59946 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sw/source/filter/ww8/ww8par.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sw/source') diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx index d5fe4bde60b4..79c7ef20b885 100644 --- a/sw/source/filter/ww8/ww8par.cxx +++ b/sw/source/filter/ww8/ww8par.cxx @@ -5393,6 +5393,9 @@ ErrCode SwWW8ImplReader::CoreLoad(WW8Glossary const *pGloss) UpdateFields(); + m_xWFlyPara.reset(); + m_xSFlyPara.reset(); + // delete the pam before the call for hide all redlines (Bug 73683) if (m_bNewDoc) m_rDoc.getIDocumentRedlineAccess().SetRedlineFlags(eMode); -- cgit