summaryrefslogtreecommitdiffstats
path: root/sw/source/uibase/uno
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2018-10-17 13:42:44 +0200
committerMichael Stahl <Michael.Stahl@cib.de>2018-11-15 15:10:00 +0100
commitf34480a58c461bced9b2f0a2ba31ae3e808c081c (patch)
tree8f1c55a061d38913f4fa50f9cd8755cc70604453 /sw/source/uibase/uno
parentsw_redlinehide_3: fix SetRedlineFlags() skipping over redlines (diff)
downloadcore-f34480a58c461bced9b2f0a2ba31ae3e808c081c.tar.gz
core-f34480a58c461bced9b2f0a2ba31ae3e808c081c.zip
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/uno')
-rw-r--r--sw/source/uibase/uno/unotxvw.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/uno/unotxvw.cxx b/sw/source/uibase/uno/unotxvw.cxx
index c96b8e243f5c..1a9b9b116a0e 100644
--- a/sw/source/uibase/uno/unotxvw.cxx
+++ b/sw/source/uibase/uno/unotxvw.cxx
@@ -1143,7 +1143,7 @@ void SwXTextViewCursor::gotoStart(sal_Bool bExpand)
if (!IsTextSelection())
throw uno::RuntimeException("no text selection", static_cast < cppu::OWeakObject * > ( this ) );
- m_pView->GetWrtShell().SttDoc( bExpand );
+ m_pView->GetWrtShell().StartOfSection( bExpand );
}
@@ -1157,7 +1157,7 @@ void SwXTextViewCursor::gotoEnd(sal_Bool bExpand)
if (!IsTextSelection())
throw uno::RuntimeException("no text selection", static_cast < cppu::OWeakObject * > ( this ) );
- m_pView->GetWrtShell().EndDoc( bExpand );
+ m_pView->GetWrtShell().EndOfSection( bExpand );
}