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

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Sat Aug 29 09:41:57 UTC 2020


 sw/source/filter/ww8/ww8par.hxx  |    4 ++--
 sw/source/filter/ww8/ww8par3.cxx |    4 ++--
 sw/source/filter/ww8/ww8par6.cxx |    4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 1ecb924b0bb56abcbc0973c4efa1c866af7e757b
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Fri Aug 28 14:37:45 2020 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sat Aug 29 11:41:03 2020 +0200

    Fix typo in code
    
    It passed "make check" on Linux
    
    Change-Id: I28048bb0396dffa7bcbcb8bcf5fe10e1c359ec79
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101624
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/sw/source/filter/ww8/ww8par.hxx b/sw/source/filter/ww8/ww8par.hxx
index 8b0c6f51f339..89cd22a60ddc 100644
--- a/sw/source/filter/ww8/ww8par.hxx
+++ b/sw/source/filter/ww8/ww8par.hxx
@@ -251,7 +251,7 @@ public:
     bool m_bImportSkipped;    // only true if !bNewDoc && existing style
     bool m_bHasStyNumRule;    // true-> named NumRule in style
     bool m_bHasBrokenWW6List; // true-> WW8+ style has a WW7- list
-    bool m_bListReleventIndentSet; //true if this style's indent has
+    bool m_bListRelevantIndentSet; //true if this style's indent has
                                  //been explicitly set, it's set to the value
                                  //of pFormat->GetItemState(RES_LR_SPACE, false)
                                  //if it was possible to get the ItemState
@@ -283,7 +283,7 @@ public:
         m_bImportSkipped(false),
         m_bHasStyNumRule(false),
         m_bHasBrokenWW6List(false),
-        m_bListReleventIndentSet(false),
+        m_bListRelevantIndentSet(false),
         m_bParaAutoBefore(false),
         m_bParaAutoAfter(false),
         m_nRelativeJustify(-1)
diff --git a/sw/source/filter/ww8/ww8par3.cxx b/sw/source/filter/ww8/ww8par3.cxx
index 6a905d5279dd..3fbe650cb51f 100644
--- a/sw/source/filter/ww8/ww8par3.cxx
+++ b/sw/source/filter/ww8/ww8par3.cxx
@@ -1658,7 +1658,7 @@ void UseListIndent(SwWW8StyInf &rStyle, const SwNumFormat &rFormat)
         aLR.SetTextLeft(nAbsLSpace);
         aLR.SetTextFirstLineOffset(writer_cast<short>(nListFirstLineIndent));
         rStyle.m_pFormat->SetFormatAttr(aLR);
-        rStyle.m_bListReleventIndentSet = true;
+        rStyle.m_bListRelevantIndentSet = true;
     }
 }
 
@@ -1668,7 +1668,7 @@ void SetStyleIndent(SwWW8StyInf &rStyle, const SwNumFormat &rFormat)
         return;
 
     SvxLRSpaceItem aLR(ItemGet<SvxLRSpaceItem>(*rStyle.m_pFormat, RES_LR_SPACE));
-    if (rStyle.m_bListReleventIndentSet)
+    if (rStyle.m_bListRelevantIndentSet)
     {
 
         SyncIndentWithList( aLR, rFormat, false, false ); // #i103711#, #i105414#
diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx
index 8ca82678a206..2d81fa4ba612 100644
--- a/sw/source/filter/ww8/ww8par6.cxx
+++ b/sw/source/filter/ww8/ww8par6.cxx
@@ -4232,7 +4232,7 @@ void SwWW8ImplReader::Read_LR( sal_uInt16 nId, const sal_uInt8* pData, short nLe
             aLR->SetTextLeft( nPara );
             if (m_pCurrentColl && m_nCurrentColl < m_vColl.size())
             {
-                m_vColl[m_nCurrentColl].m_bListReleventIndentSet = true;
+                m_vColl[m_nCurrentColl].m_bListRelevantIndentSet = true;
             }
             bLeftIndentSet = true;  // #i105414#
             break;
@@ -4285,7 +4285,7 @@ void SwWW8ImplReader::Read_LR( sal_uInt16 nId, const sal_uInt8* pData, short nLe
             }
             if (m_pCurrentColl && m_nCurrentColl < m_vColl.size())
             {
-                m_vColl[m_nCurrentColl].m_bListReleventIndentSet = true;
+                m_vColl[m_nCurrentColl].m_bListRelevantIndentSet = true;
             }
             bFirstLinOfstSet = true; // #i103711#
             break;


More information about the Libreoffice-commits mailing list