summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/docglos.cxx
diff options
context:
space:
mode:
authorRobinson Tryon <qubit@runcibility.com>2015-11-25 06:03:10 -0500
committerRobinson Tryon <qubit@runcibility.com>2015-11-25 06:07:38 -0500
commit49c2b9808df8a6b197dec666dfc0cda6321a4306 (patch)
tree045ef4b9b8dfdb06bfbe18cdf773d59f57d5552d /sw/source/core/doc/docglos.cxx
parent5470a365f25e5052b4dd74f76aa2196f0d70934b (diff)
bin/rename-sw-abbreviations.sh libreoffice-5-1-branch-point
This commit renames the most annoying abbreviations in Writer (and partially in the shared code too). Change-Id: I77e5134f42f25e3786afa36b7a505c7e3237a9e8
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();