sw/source/core/txtnode/thints.cxx      |    4 ++--
 sw/source/core/unocore/unoportenum.cxx |    2 +-
 sw/source/core/unocore/unotext.cxx     |    4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 350a2dfa74bbc9d82f6555c0f3d679b6c53fe353
Author:     Miklos Vajna <vmik...@collabora.com>
AuthorDate: Mon May 27 11:05:37 2024 +0200
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Tue May 28 00:21:50 2024 +0200

    sw: rename SwIndexes to SwContentIndexes in comments
    
    Leftover from commit 9fdb06d65a8f2c3401392bffee9c4639e178aada (rename
    SwIndex->SwContentIndex, 2022-07-25).
    
    Change-Id: I68e5f64b57e629c6e6ddc2fed0326410facb3954
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168085
    Reviewed-by: Miklos Vajna <vmik...@collabora.com>
    Tested-by: Jenkins

diff --git a/sw/source/core/txtnode/thints.cxx 
b/sw/source/core/txtnode/thints.cxx
index 5da054405ef5..729a5443b03b 100644
--- a/sw/source/core/txtnode/thints.cxx
+++ b/sw/source/core/txtnode/thints.cxx
@@ -1421,7 +1421,7 @@ bool SwTextNode::InsertHint( SwTextAttr * const pAttr, 
const SetAttrMode nMode )
                             assert(CH_TXTATR_BREAKWORD == 
m_Text[pAttr->GetStart()]
                                 || CH_TXTATR_INWORD == 
m_Text[pAttr->GetStart()]);
                             m_Text = m_Text.replaceAt(pAttr->GetStart(), 1, 
u"");
-                            // Update SwIndexes
+                            // Update SwContentIndexes
                             SwContentIndex aTmpIdx( this, pAttr->GetStart() );
                             Update(aTmpIdx, 1, UpdateMode::Negative);
                         }
@@ -1461,7 +1461,7 @@ bool SwTextNode::InsertHint( SwTextAttr * const pAttr, 
const SetAttrMode nMode )
                         assert(CH_TXTATR_BREAKWORD == m_Text[pAttr->GetStart()]
                             || CH_TXTATR_INWORD == m_Text[pAttr->GetStart()]);
                         m_Text = m_Text.replaceAt(pAttr->GetStart(), 1, u"");
-                        // Update SwIndexes
+                        // Update SwContentIndexes
                         SwContentIndex aTmpIdx( this, pAttr->GetStart() );
                         Update(aTmpIdx, 1, UpdateMode::Negative);
                     }
diff --git a/sw/source/core/unocore/unoportenum.cxx 
b/sw/source/core/unocore/unoportenum.cxx
index 58657677429c..d975f3c20960 100644
--- a/sw/source/core/unocore/unoportenum.cxx
+++ b/sw/source/core/unocore/unoportenum.cxx
@@ -200,7 +200,7 @@ namespace
 
         SwTextNode* pTextNode = rUnoCursor.GetPoint()->GetNode().GetTextNode();
         assert(pTextNode);
-        // A text node already knows its marks via its SwIndexes.
+        // A text node already knows its marks via its SwContentIndexes.
         o3tl::sorted_vector<const sw::mark::IMark*> aSeenMarks;
         for (const SwContentIndex* pIndex = pTextNode->GetFirstIndex(); 
pIndex; pIndex = pIndex->GetNext())
         {
diff --git a/sw/source/core/unocore/unotext.cxx 
b/sw/source/core/unocore/unotext.cxx
index 39b2016335ba..fd2811f05743 100644
--- a/sw/source/core/unocore/unotext.cxx
+++ b/sw/source/core/unocore/unotext.cxx
@@ -1664,7 +1664,7 @@ SwXText::convertToTextFrame(
             xNewFrame->SwXFrame::setPropertyValue(rValue.Name, rValue.Value);
         }
 
-        {   // has to be in a block to remove the SwIndexes before
+        {   // has to be in a block to remove the SwContentIndexes before
             // DelFullPara is called
             const uno::Reference< text::XTextRange> xInsertTextRange =
                 new SwXTextRange(*pStartPam, this);
@@ -1677,7 +1677,7 @@ SwXText::convertToTextFrame(
         assert(pTextNode);
         if (!pTextNode || !pTextNode->Len()) // don't remove if it contains 
text!
         {
-            {   // has to be in a block to remove the SwIndexes before
+            {   // has to be in a block to remove the SwContentIndexes before
                 // DelFullPara is called
                 SwPaM aMovePam( pStartPam->GetPointNode() );
                 if (aMovePam.Move( fnMoveForward, GoInContent ))

Reply via email to