summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorJohnny_M <klasse@partyheld.de>2020-03-27 13:42:41 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2020-03-31 15:26:10 +0200
commit3db98c3b7a28e101f617525fb00cf9c05da53025 (patch)
tree87ab0e10637436b85ebdfb1bbd0c69f65ca64422 /sw/source
parent169a10f0e4680814145b668c6320be04038d7a89 (diff)
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@posteo.de>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/txtnode/txtedt.cxx8
1 files changed, 4 insertions, 4 deletions
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.