diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2018-10-17 13:42:44 +0200 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2018-11-10 19:47:00 +0100 |
commit | fe6fc478587d59dc909b8b022030a77982ec5f2f (patch) | |
tree | 928ef0aae232478a00fd2bbaea8631c1de203d10 /sw/source/uibase/shells | |
parent | e0325c198401b8964176608d6ddb0174a4c60cab (diff) |
sw: rename the misleading SwWrtShell::SttDoc/EndDoc
... to StartOfSection/EndOfSection, which corresponds more closely to
where they actually move the cursor, in SwNodes::GoStartOfSection.
SwCursorShell::SttEndDoc does what one would expect from these.
Change-Id: I5005e3ebf230c903a4e63dcdda93892a8658e096
Diffstat (limited to 'sw/source/uibase/shells')
-rw-r--r-- | sw/source/uibase/shells/txtcrsr.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/shells/txtcrsr.cxx b/sw/source/uibase/shells/txtcrsr.cxx index 93df8a6694a2..f080cf845c9d 100644 --- a/sw/source/uibase/shells/txtcrsr.cxx +++ b/sw/source/uibase/shells/txtcrsr.cxx @@ -140,16 +140,16 @@ void SwTextShell::ExecMove(SfxRequest &rReq) bRet = rSh.RightMargin( false, false ); break; case FN_START_OF_DOCUMENT_SEL: - bRet = rSh.SttDoc( true ); + bRet = rSh.StartOfSection( true ); break; case FN_START_OF_DOCUMENT: - bRet = rSh.SttDoc(); + bRet = rSh.StartOfSection(); break; case FN_END_OF_DOCUMENT_SEL: - bRet = rSh.EndDoc( true ); + bRet = rSh.EndOfSection( true ); break; case FN_END_OF_DOCUMENT: - bRet = rSh.EndDoc(); + bRet = rSh.EndOfSection(); break; case FN_SELECT_WORD: bRet = rSh.SelNearestWrd(); |