summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-09-10 10:03:26 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2020-09-10 15:31:02 +0200
commit7c140177879d259a6d41ea2383105b5eabef958c (patch)
tree7a42f399c10f338eeaba41c5ed1994215ff1315c
parent815aed09bb91aea2e8dd54f4b767505aa273cc3f (diff)
tdf#135950 crash in format->character with selected text in table
Change-Id: I66e36a638d040d2a38ac234383d6f314a2ff4d88 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102309 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
-rw-r--r--sw/source/filter/basflt/shellio.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/filter/basflt/shellio.cxx b/sw/source/filter/basflt/shellio.cxx
index d467a21d8a1c..74b314277bb8 100644
--- a/sw/source/filter/basflt/shellio.cxx
+++ b/sw/source/filter/basflt/shellio.cxx
@@ -895,6 +895,7 @@ ErrCode SwWriter::Write( WriterRef const & rxWriter, const OUString* pRealFileNa
if ( xDoc.is() )
{
+ pTempCursor.reset();
xDoc.clear();
m_bWriteAll = false;
}