diff options
-rw-r--r-- | sw/source/core/swg/swblocks.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/core/swg/swblocks.cxx b/sw/source/core/swg/swblocks.cxx index 8fa212c520fb..c784e720fa4b 100644 --- a/sw/source/core/swg/swblocks.cxx +++ b/sw/source/core/swg/swblocks.cxx @@ -553,8 +553,10 @@ SwDoc* SwTextBlocks::GetDoc() void SwTextBlocks::ClearDoc() { if( pImp ) + { pImp->ClearDoc(); - pImp->nCur = (sal_uInt16) -1; + pImp->nCur = (sal_uInt16) -1; + } } |