[Libreoffice-commits] core.git: sw/source

Johnny_M (via logerrit) logerrit at kemper.freedesktop.org
Tue Mar 31 13:26:44 UTC 2020


 sw/source/core/txtnode/txtedt.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 3db98c3b7a28e101f617525fb00cf9c05da53025
Author:     Johnny_M <klasse at partyheld.de>
AuthorDate: Fri Mar 27 13:42:41 2020 +0100
Commit:     Michael Weghorn <m.weghorn at posteo.de>
CommitDate: Tue Mar 31 15:26:10 2020 +0200

    Translate German variable names
    
    Ende -> End
    
    Change-Id: I888d16a74cd37a97331c44c82040610d2a894522
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91212
    Tested-by: Jenkins
    Reviewed-by: Michael Weghorn <m.weghorn at posteo.de>

diff --git a/sw/source/core/txtnode/txtedt.cxx b/sw/source/core/txtnode/txtedt.cxx
index dcddfb5f0f48..c79e8baf3338 100644
--- a/sw/source/core/txtnode/txtedt.cxx
+++ b/sw/source/core/txtnode/txtedt.cxx
@@ -696,18 +696,18 @@ OUString SwTextFrame::GetCurWord(SwPosition const& rPos) const
 
 SwScanner::SwScanner( const SwTextNode& rNd, const OUString& rText,
     const LanguageType* pLang, const ModelToViewHelper& rConvMap,
-    sal_uInt16 nType, sal_Int32 nStart, sal_Int32 nEnde, bool bClp )
+    sal_uInt16 nType, sal_Int32 nStart, sal_Int32 nEnd, bool bClp )
     : SwScanner(
         [&rNd](sal_Int32 const nBegin, sal_uInt16 const nScript, bool const bNoChar)
             { return rNd.GetLang(nBegin, bNoChar ? 0 : 1, nScript); }
-        , rText, pLang, rConvMap, nType, nStart, nEnde, bClp)
+        , rText, pLang, rConvMap, nType, nStart, nEnd, bClp)
 {
 }
 
 SwScanner::SwScanner(std::function<LanguageType(sal_Int32, sal_Int32, bool)> const& pGetLangOfChar,
                      const OUString& rText, const LanguageType* pLang,
                      const ModelToViewHelper& rConvMap, sal_uInt16 nType, sal_Int32 nStart,
-                     sal_Int32 nEnde, bool bClp)
+                     sal_Int32 nEnd, bool bClp)
     : m_pGetLangOfChar(pGetLangOfChar)
     , m_aPreDashReplacementText(rText)
     , m_pLanguage(pLang)
@@ -718,7 +718,7 @@ SwScanner::SwScanner(std::function<LanguageType(sal_Int32, sal_Int32, bool)> con
     , m_bClip(bClp)
 {
     m_nStartPos = m_nBegin = nStart;
-    m_nEndPos = nEnde;
+    m_nEndPos = nEnd;
 
     //MSWord f.e has special emdash and endash behaviour in that they break
     //words for the purposes of word counting, while a hyphen etc. doesn't.


More information about the Libreoffice-commits mailing list