summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-09-10 10:03:26 +0100
committerAndras Timar <andras.timar@collabora.com>2020-09-19 21:11:36 +0200
commit7628d35af92f9c9d9a04e964ce14bc72648183bb (patch)
tree21df61413cfe95b789cf69eae5845baca4139255 /sw
parenta14281473fff851deabf917f39e1f4d8026a8e91 (diff)
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>
Diffstat (limited to 'sw')
-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 f3fe939f634d..db178e6c97a1 100644
--- a/sw/source/filter/basflt/shellio.cxx
+++ b/sw/source/filter/basflt/shellio.cxx
@@ -899,6 +899,7 @@ ErrCode SwWriter::Write( WriterRef const & rxWriter, const OUString* pRealFileNa
if ( xDoc.is() )
{
+ pTempCursor.reset();
xDoc.clear();
bWriteAll = false;
}