sw/source/filter/ww8/ww8par6.cxx |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit ebf7d87fa4cb7ceac80190f48b7d035aa9469acf
Author:     Justin Luth <jl...@mail.com>
AuthorDate: Fri May 10 11:24:26 2024 -0400
Commit:     Justin Luth <jl...@mail.com>
CommitDate: Thu May 16 01:48:38 2024 +0200

    NFC typo: rename to consistent bFirstLineOfstSet
    
    One version spelled "Line" wrong (Lin),
    and the other version had poor "Ofst" capitalization(OfSt).
    
    I decided not to make it "Ofset" because then you get
    "OfsetSet" which looks a bit more redundant,
    and then m_aTextNodesHavingFirstLineOfstSet should also be renamed...
    
    Change-Id: I7e443827491abf79a826ec4698f22292e8f15e65
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167650
    Reviewed-by: Justin Luth <jl...@mail.com>
    Tested-by: Jenkins

diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx
index bc89199c4904..021445724647 100644
--- a/sw/source/filter/ww8/ww8par6.cxx
+++ b/sw/source/filter/ww8/ww8par6.cxx
@@ -2844,7 +2844,7 @@ bool SwWW8ImplReader::TestSameApo(const ApoTestResults 
&rApo,
 }
 
 void SwWW8ImplReader::NewAttr( const SfxPoolItem& rAttr,
-                               const bool bFirstLineOfStSet,
+                               const bool bFirstLineOfstSet,
                                const bool bLeftIndentSet )
 {
     if( m_bNoAttrImport ) // for ignoring styles during doc inserts
@@ -2867,7 +2867,7 @@ void SwWW8ImplReader::NewAttr( const SfxPoolItem& rAttr,
     {
         m_xCtrlStck->NewAttr(*m_pPaM->GetPoint(), rAttr);
         // #i103711#
-        if ( bFirstLineOfStSet )
+        if (bFirstLineOfstSet)
         {
             const SwNode* pNd = &(m_pPaM->GetPoint()->GetNode());
             m_aTextNodesHavingFirstLineOfstSet.insert( pNd );
@@ -4346,7 +4346,7 @@ void SwWW8ImplReader::Read_LR( sal_uInt16 nId, const 
sal_uInt8* pData, short nLe
         }
     }
 
-    bool bFirstLinOfstSet( false ); // #i103711#
+    bool bFirstLineOfstSet(false); // #i103711#
     bool bLeftIndentSet( false ); // #i105414#
 
     switch (nId)
@@ -4412,7 +4412,7 @@ void SwWW8ImplReader::Read_LR( sal_uInt16 nId, const 
sal_uInt8* pData, short nLe
             {
                 m_vColl[m_nCurrentColl].m_bListRelevantIndentSet = true;
             }
-            bFirstLinOfstSet = true; // #i103711#
+            bFirstLineOfstSet = true; // #i103711#
             break;
         //sprmPDxaRight
         case NS_sprm::v6::sprmPDxaRight:
@@ -4424,7 +4424,7 @@ void SwWW8ImplReader::Read_LR( sal_uInt16 nId, const 
sal_uInt8* pData, short nLe
             return;
     }
 
-    NewAttr(*pFirstLine, bFirstLinOfstSet, false); // #i103711#, #i105414#
+    NewAttr(*pFirstLine, bFirstLineOfstSet, false); // #i103711#, #i105414#
     NewAttr(*pLeftMargin, false, bLeftIndentSet);
     NewAttr(*pRightMargin, false, false);
 }

Reply via email to