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.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/doc/docglos.cxx b/sw/source/core/doc/docglos.cxx
index 5d9f9be892e5..6f26c6c4431d 100644
--- a/sw/source/core/doc/docglos.cxx
+++ b/sw/source/core/doc/docglos.cxx
@@ -127,7 +127,7 @@ void SwDoc::ReplaceDocumentProperties(const SwDoc& rSource, bool mailMerge)
/// inserts an AutoText block
bool SwDoc::InsertGlossary( SwTextBlocks& rBlock, const OUString& rEntry,
- SwPaM& rPaM, SwCrsrShell* pShell )
+ SwPaM& rPaM, SwCursorShell* pShell )
{
bool bRet = false;
const sal_uInt16 nIdx = rBlock.GetIndex( rEntry );
@@ -168,10 +168,10 @@ bool SwDoc::InsertGlossary( SwTextBlocks& rBlock, const OUString& rEntry,
pContentNd, (pContentNd) ? pContentNd->Len() : 0 );
GetIDocumentUndoRedo().StartUndo( UNDO_INSGLOSSARY, nullptr );
- SwPaM *_pStartCrsr = &rPaM, *__pStartCrsr = _pStartCrsr;
+ SwPaM *_pStartCursor = &rPaM, *__pStartCursor = _pStartCursor;
do {
- SwPosition& rInsPos = *_pStartCrsr->GetPoint();
+ SwPosition& rInsPos = *_pStartCursor->GetPoint();
SwStartNode* pBoxSttNd = const_cast<SwStartNode*>(rInsPos.nNode.GetNode().
FindTableBoxStartNode());
@@ -192,8 +192,8 @@ bool SwDoc::InsertGlossary( SwTextBlocks& rBlock, const OUString& rEntry,
aACD.RestoreDontExpandItems( rInsPos );
if( pShell )
pShell->SaveTableBoxContent( &rInsPos );
- } while( (_pStartCrsr = static_cast<SwPaM *>(_pStartCrsr->GetNext())) !=
- __pStartCrsr );
+ } while( (_pStartCursor = static_cast<SwPaM *>(_pStartCursor->GetNext())) !=
+ __pStartCursor );
GetIDocumentUndoRedo().EndUndo( UNDO_INSGLOSSARY, nullptr );
getIDocumentFieldsAccess().UnlockExpFields();