[Libreoffice-commits] core.git: sw/source
Johnny_M (via logerrit)
logerrit at kemper.freedesktop.org
Tue Mar 31 13:35:48 UTC 2020
sw/source/core/doc/DocumentContentOperationsManager.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 1823b8ff7892bef50c521a0e90fc317b834d5d11
Author: Johnny_M <klasse at partyheld.de>
AuthorDate: Fri Mar 27 13:49:09 2020 +0100
Commit: Michael Weghorn <m.weghorn at posteo.de>
CommitDate: Tue Mar 31 15:35:13 2020 +0200
Translate German variable names
Ende -> End
Change-Id: I8f86d38fc8c815c6c4760a67a475cdff73a4ac17
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91215
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn at posteo.de>
diff --git a/sw/source/core/doc/DocumentContentOperationsManager.cxx b/sw/source/core/doc/DocumentContentOperationsManager.cxx
index 0491adeda901..cad942607c0b 100644
--- a/sw/source/core/doc/DocumentContentOperationsManager.cxx
+++ b/sw/source/core/doc/DocumentContentOperationsManager.cxx
@@ -4121,14 +4121,14 @@ bool DocumentContentOperationsManager::DeleteRangeImplImpl(SwPaM & rPam)
}
// if the end is not a content node, delete it as well
- sal_uInt32 nEnde = pEnd->nNode.GetIndex();
+ sal_uInt32 nEnd = pEnd->nNode.GetIndex();
if( pCNd == nullptr )
- nEnde++;
+ nEnd++;
- if( aSttIdx != nEnde )
+ if( aSttIdx != nEnd )
{
// delete the Nodes into the NodesArary
- m_rDoc.GetNodes().Delete( aSttIdx, nEnde - aSttIdx.GetIndex() );
+ m_rDoc.GetNodes().Delete( aSttIdx, nEnd - aSttIdx.GetIndex() );
}
// If the Node that contained the Cursor has been deleted,
More information about the Libreoffice-commits
mailing list