diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-11-16 14:54:07 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-11-16 22:14:33 +0100 |
commit | d5811039430e5a76643491c68fed75691969afbd (patch) | |
tree | ac14762fe8b0b0d9fc09959e01609a7b4ddf0763 | |
parent | uitest: sw: ExportToEPUB is already tested (diff) | |
download | core-d5811039430e5a76643491c68fed75691969afbd.tar.gz core-d5811039430e5a76643491c68fed75691969afbd.zip |
WrtStt->WrdStt for consistency with the other word start abbrevs
Change-Id: I4ec773b5867d804d9c293c4c89cb9be4acb017b8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125315
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | editeng/source/misc/svxacorr.cxx | 2 | ||||
-rw-r--r-- | include/editeng/svxacorr.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/edit/acorrect.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx index 6dfe778f2631..16d443dce4b5 100644 --- a/editeng/source/misc/svxacorr.cxx +++ b/editeng/source/misc/svxacorr.cxx @@ -1680,7 +1680,7 @@ bool SvxAutoCorrect::AddCplSttException( const OUString& rNew, } // Adds a single word. The list will immediately be written to the file! -bool SvxAutoCorrect::AddWrtSttException( const OUString& rNew, +bool SvxAutoCorrect::AddWrdSttException( const OUString& rNew, LanguageType eLang ) { SvxAutoCorrectLanguageLists* pLists = nullptr; diff --git a/include/editeng/svxacorr.hxx b/include/editeng/svxacorr.hxx index 4d21049a9d3c..a0d85002d01a 100644 --- a/include/editeng/svxacorr.hxx +++ b/include/editeng/svxacorr.hxx @@ -392,7 +392,7 @@ public: const SvStringsISortDtor* GetWrdSttExceptList( LanguageType eLang ) { return GetLanguageList_( eLang ).GetWrdSttExceptList(); } // Adds a single word. The list will be immediately written to the file! - bool AddWrtSttException( const OUString& rNew, LanguageType eLang); + bool AddWrdSttException( const OUString& rNew, LanguageType eLang); // Search through the Languages for the entry bool FindInWrdSttExceptList( LanguageType eLang, const OUString& sWord ); diff --git a/sw/source/core/edit/acorrect.cxx b/sw/source/core/edit/acorrect.cxx index 1ad211fa4354..d937bf6b1798 100644 --- a/sw/source/core/edit/acorrect.cxx +++ b/sw/source/core/edit/acorrect.cxx @@ -624,7 +624,7 @@ void SwAutoCorrExceptWord::CheckChar( const SwPosition& rPos, sal_Unicode cChr ) // then add to the list: if (ACFlags::CapitalStartWord & m_nFlags) - pACorr->AddWrtSttException(m_sWord, m_eLanguage); + pACorr->AddWrdSttException(m_sWord, m_eLanguage); else if (ACFlags::CapitalStartSentence & m_nFlags) pACorr->AddCplSttException(m_sWord, m_eLanguage); } |