editeng/source/misc/svxacorr.cxx |    2 +-
 include/editeng/svxacorr.hxx     |    2 +-
 sw/source/core/edit/acorrect.cxx |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit d5811039430e5a76643491c68fed75691969afbd
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Tue Nov 16 14:54:07 2021 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Tue Nov 16 22:14:33 2021 +0100

    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 <caol...@redhat.com>

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);
     }

Reply via email to