summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/docglos.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/doc/docglos.cxx')
-rw-r--r--sw/source/core/doc/docglos.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/docglos.cxx b/sw/source/core/doc/docglos.cxx
index 894c631994b2..a5299483e3f2 100644
--- a/sw/source/core/doc/docglos.cxx
+++ b/sw/source/core/doc/docglos.cxx
@@ -187,7 +187,7 @@ bool SwDoc::InsertGlossary( SwTextBlocks& rBlock, const OUString& rEntry,
SwDontExpandItem aACD;
aACD.SaveDontExpandItems( rInsPos );
- pGDoc->getIDocumentContentOperations().CopyRange( aCpyPam, rInsPos, false );
+ pGDoc->getIDocumentContentOperations().CopyRange( aCpyPam, rInsPos, /*bCopyAll=*/false, /*bCheckPos=*/true );
aACD.RestoreDontExpandItems( rInsPos );
if( pShell )