summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/docruby.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/doc/docruby.cxx')
-rw-r--r--sw/source/core/doc/docruby.cxx32
1 files changed, 16 insertions, 16 deletions
diff --git a/sw/source/core/doc/docruby.cxx b/sw/source/core/doc/docruby.cxx
index 0d0c18b83db8..0bb6e4ad18b7 100644
--- a/sw/source/core/doc/docruby.cxx
+++ b/sw/source/core/doc/docruby.cxx
@@ -48,14 +48,14 @@ using namespace ::com::sun::star::i18n;
sal_uInt16 SwDoc::FillRubyList( const SwPaM& rPam, SwRubyList& rList,
sal_uInt16 nMode )
{
- const SwPaM *_pStartCrsr = rPam.GetNext(),
- *__pStartCrsr = _pStartCrsr;
- bool bCheckEmpty = &rPam != _pStartCrsr;
+ const SwPaM *_pStartCursor = rPam.GetNext(),
+ *__pStartCursor = _pStartCursor;
+ bool bCheckEmpty = &rPam != _pStartCursor;
do {
- const SwPosition* pStt = _pStartCrsr->Start(),
- * pEnd = pStt == _pStartCrsr->GetPoint()
- ? _pStartCrsr->GetMark()
- : _pStartCrsr->GetPoint();
+ const SwPosition* pStt = _pStartCursor->Start(),
+ * pEnd = pStt == _pStartCursor->GetPoint()
+ ? _pStartCursor->GetMark()
+ : _pStartCursor->GetPoint();
if( !bCheckEmpty || ( pStt != pEnd && *pStt != *pEnd ))
{
SwPaM aPam( *pStt );
@@ -85,7 +85,7 @@ sal_uInt16 SwDoc::FillRubyList( const SwPaM& rPam, SwRubyList& rList,
} while( 30 > rList.size() && *aPam.GetPoint() < *pEnd );
}
} while( 30 > rList.size() &&
- (_pStartCrsr = _pStartCrsr->GetNext()) != __pStartCrsr );
+ (_pStartCursor = _pStartCursor->GetNext()) != __pStartCursor );
return rList.size();
}
@@ -99,14 +99,14 @@ sal_uInt16 SwDoc::SetRubyList( const SwPaM& rPam, const SwRubyList& rList,
sal_uInt16 nListEntry = 0;
- const SwPaM *_pStartCrsr = rPam.GetNext(),
- *__pStartCrsr = _pStartCrsr;
- bool bCheckEmpty = &rPam != _pStartCrsr;
+ const SwPaM *_pStartCursor = rPam.GetNext(),
+ *__pStartCursor = _pStartCursor;
+ bool bCheckEmpty = &rPam != _pStartCursor;
do {
- const SwPosition* pStt = _pStartCrsr->Start(),
- * pEnd = pStt == _pStartCrsr->GetPoint()
- ? _pStartCrsr->GetMark()
- : _pStartCrsr->GetPoint();
+ const SwPosition* pStt = _pStartCursor->Start(),
+ * pEnd = pStt == _pStartCursor->GetPoint()
+ ? _pStartCursor->GetMark()
+ : _pStartCursor->GetPoint();
if( !bCheckEmpty || ( pStt != pEnd && *pStt != *pEnd ))
{
@@ -172,7 +172,7 @@ sal_uInt16 SwDoc::SetRubyList( const SwPaM& rPam, const SwRubyList& rList,
} while( nListEntry < rList.size() && *aPam.GetPoint() < *pEnd );
}
} while( 30 > rList.size() &&
- (_pStartCrsr = _pStartCrsr->GetNext()) != __pStartCrsr );
+ (_pStartCursor = _pStartCursor->GetNext()) != __pStartCursor );
GetIDocumentUndoRedo().EndUndo( UNDO_SETRUBYATTR, nullptr );