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

Johnny_M (via logerrit) logerrit at kemper.freedesktop.org
Mon Apr 20 07:22:27 UTC 2020


 sw/source/filter/basflt/fltshell.cxx |    4 ++--
 sw/source/filter/inc/fltshell.hxx    |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit c5df1ab9ba8331802acadc00f7ff949ed0b2dbc1
Author:     Johnny_M <klasse at partyheld.de>
AuthorDate: Fri Apr 10 11:59:20 2020 +0200
Commit:     Michael Weghorn <m.weghorn at posteo.de>
CommitDate: Mon Apr 20 09:21:47 2020 +0200

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

diff --git a/sw/source/filter/basflt/fltshell.cxx b/sw/source/filter/basflt/fltshell.cxx
index cd890e204cd8..95172677076d 100644
--- a/sw/source/filter/basflt/fltshell.cxx
+++ b/sw/source/filter/basflt/fltshell.cxx
@@ -347,7 +347,7 @@ void SwFltControlStack::KillUnlockedAttrs(const SwPosition& rPos)
 // be applied to the document and removed from the stack.
 // Returns if there were any selected attributes on the stack
 SwFltStackEntry* SwFltControlStack::SetAttr(const SwPosition& rPos,
-    sal_uInt16 nAttrId, bool bTstEnde, long nHand,
+    sal_uInt16 nAttrId, bool bTstEnd, long nHand,
     bool consumedByField)
 {
     SwFltStackEntry *pRet = nullptr;
@@ -413,7 +413,7 @@ SwFltStackEntry* SwFltControlStack::SetAttr(const SwPosition& rPos,
         // refrain from applying it; there needs to be following text,
         // except at the very end. (attribute expansion !!)
         // Never apply end stack except at document ending
-        if (bTstEnde)
+        if (bTstEnd)
         {
             if (bIsEndStack)
             {
diff --git a/sw/source/filter/inc/fltshell.hxx b/sw/source/filter/inc/fltshell.hxx
index 92846746d186..344a5ace1f45 100644
--- a/sw/source/filter/inc/fltshell.hxx
+++ b/sw/source/filter/inc/fltshell.hxx
@@ -165,7 +165,7 @@ public:
 
     void NewAttr(const SwPosition& rPos, const SfxPoolItem & rAttr );
 
-    virtual SwFltStackEntry* SetAttr(const SwPosition& rPos, sal_uInt16 nAttrId, bool bTstEnde=true, long nHand = LONG_MAX, bool consumedByField=false);
+    virtual SwFltStackEntry* SetAttr(const SwPosition& rPos, sal_uInt16 nAttrId, bool bTstEnd=true, long nHand = LONG_MAX, bool consumedByField=false);
 
     void StealAttr(const SwNodeIndex& rNode);
     void MarkAllAttrsOld();


More information about the Libreoffice-commits mailing list