summaryrefslogtreecommitdiffstats
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:36 +0200
commit217d6ee31d6c892af63931ca4fc4158b8e713640 (patch)
treedf8c34ca3ba26994cc97c64fec49cce1dd42b8ac
parenttdf#136032 - abort scan of a string beginning with a hashtag (diff)
downloadcore-217d6ee31d6c892af63931ca4fc4158b8e713640.tar.gz
core-217d6ee31d6c892af63931ca4fc4158b8e713640.zip
tdf#135950 crash in format->character with selected text in table
Change-Id: I66e36a638d040d2a38ac234383d6f314a2ff4d88 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102310 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 cba064de3e09..47657980602f 100644
--- a/sw/source/filter/basflt/shellio.cxx
+++ b/sw/source/filter/basflt/shellio.cxx
@@ -897,6 +897,7 @@ ErrCode SwWriter::Write( WriterRef const & rxWriter, const OUString* pRealFileNa
if ( xDoc.is() )
{
+ pTempCursor.reset();
xDoc.clear();
bWriteAll = false;
}