summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}