diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-07-08 13:08:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-07-09 18:56:04 +0200 |
commit | 14e216986b7353c7c57c31ff791c2c0baffbced6 (patch) | |
tree | bbcddacae44fbf10897cb3c9e80c426c209a1871 /sw | |
parent | c11c5f9b87dfb7a7620341c2bffbd73b4d8eca58 (diff) |
loplugin:unusedmethods
Change-Id: I799129a3449ebcbb7b7005b933349cd2e6287860
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170185
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/inc/wrtsh.hxx | 1 | ||||
-rw-r--r-- | sw/source/uibase/wrtsh/wrtsh4.cxx | 17 |
2 files changed, 0 insertions, 18 deletions
diff --git a/sw/source/uibase/inc/wrtsh.hxx b/sw/source/uibase/inc/wrtsh.hxx index 2abebb09d35a..58f3865827a1 100644 --- a/sw/source/uibase/inc/wrtsh.hxx +++ b/sw/source/uibase/inc/wrtsh.hxx @@ -590,7 +590,6 @@ private: bool NxtWrdForDelete(); bool PrvWrdForDelete(); bool FwdSentence_(); - bool EndSentence_(); bool BwdSentence_(); SW_DLLPUBLIC bool FwdPara_(); bool BwdPara_(); diff --git a/sw/source/uibase/wrtsh/wrtsh4.cxx b/sw/source/uibase/wrtsh/wrtsh4.cxx index 0edf4a1780b1..0442e3152bb6 100644 --- a/sw/source/uibase/wrtsh/wrtsh4.cxx +++ b/sw/source/uibase/wrtsh/wrtsh4.cxx @@ -190,23 +190,6 @@ bool SwWrtShell::FwdSentence_() return true; } -bool SwWrtShell::EndSentence_() -{ - Push(); - ClearMark(); - if(!SwCursorShell::Right(1,SwCursorSkipMode::Chars)) - { - Pop(SwCursorShell::PopMode::DeleteCurrent); - return false; - } - if( !GoEndSentence() && !IsEndPara() ) - SwCursorShell::MovePara(GoCurrPara, fnParaEnd); - - ClearMark(); - Combine(); - return true; -} - bool SwWrtShell::BwdSentence_() { Push(); |