[Libreoffice-commits] core.git: sw/inc sw/source
Johnny_M (via logerrit)
logerrit at kemper.freedesktop.org
Tue Mar 31 13:34:37 UTC 2020
sw/inc/ndarr.hxx | 2 +-
sw/source/core/docnode/ndsect.cxx | 12 ++++++------
2 files changed, 7 insertions(+), 7 deletions(-)
New commits:
commit 4fa2e297eb8cb6d6e1f036be4609918034496251
Author: Johnny_M <klasse at partyheld.de>
AuthorDate: Fri Mar 27 14:18:39 2020 +0100
Commit: Michael Weghorn <m.weghorn at posteo.de>
CommitDate: Tue Mar 31 15:34:01 2020 +0200
Translate German variable names
Ende -> End
Change-Id: I5d9cb8b91f20ed957c90558bc41b1da1c2ffb099
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91219
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn at posteo.de>
diff --git a/sw/inc/ndarr.hxx b/sw/inc/ndarr.hxx
index 84d47253fce7..bb21e7903adc 100644
--- a/sw/inc/ndarr.hxx
+++ b/sw/inc/ndarr.hxx
@@ -294,7 +294,7 @@ public:
SwSectionFormat& rSectionFormat,
SwSectionData const&,
SwTOXBase const*const pTOXBase,
- SwNodeIndex const*const pEnde,
+ SwNodeIndex const*const pEnd,
bool const bInsAtStart = true,
bool const bCreateFrames = true);
diff --git a/sw/source/core/docnode/ndsect.cxx b/sw/source/core/docnode/ndsect.cxx
index cebcd156ff65..76f1bd7466c4 100644
--- a/sw/source/core/docnode/ndsect.cxx
+++ b/sw/source/core/docnode/ndsect.cxx
@@ -780,14 +780,14 @@ SwSectionNode* SwNodes::InsertTextSection(SwNodeIndex const& rNdIdx,
SwSectionFormat& rSectionFormat,
SwSectionData const& rSectionData,
SwTOXBase const*const pTOXBase,
- SwNodeIndex const*const pEnde,
+ SwNodeIndex const*const pEnd,
bool const bInsAtStart, bool const bCreateFrames)
{
SwNodeIndex aInsPos( rNdIdx );
- if( !pEnde ) // No Area, thus create a new Section before/after it
+ if( !pEnd ) // No Area, thus create a new Section before/after it
{
// #i26762#
- OSL_ENSURE(!pEnde || rNdIdx <= *pEnde,
+ OSL_ENSURE(!pEnd || rNdIdx <= *pEnd,
"Section start and end in wrong order!");
if( bInsAtStart )
@@ -818,11 +818,11 @@ SwSectionNode* SwNodes::InsertTextSection(SwNodeIndex const& rNdIdx,
SwSectionNode *const pSectNd =
new SwSectionNode(aInsPos, rSectionFormat, pTOXBase);
- if( pEnde )
+ if( pEnd )
{
// Special case for the Reader/Writer
- if( &pEnde->GetNode() != &GetEndOfContent() )
- aInsPos = pEnde->GetIndex()+1;
+ if( &pEnd->GetNode() != &GetEndOfContent() )
+ aInsPos = pEnd->GetIndex()+1;
// #i58710: We created a RTF document with a section break inside a table cell
// We are not able to handle a section start inside a table and the section end outside.
const SwNode* pLastNode = pSectNd->StartOfSectionNode()->EndOfSectionNode();
More information about the Libreoffice-commits
mailing list