diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2024-05-24 13:09:36 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2024-05-24 14:22:07 +0200 |
commit | 6de49dee825c6bd093007b4c954f97812c3fdb47 (patch) | |
tree | 7dd338e1e935fda187d9026a75ed214acc2e8c64 /sw | |
parent | a3150fc8a59662ce8630cfc64fec9cd083ac7d36 (diff) |
sw: rename SwIndex to SwContentIndex in comments
Leftover from commit 9fdb06d65a8f2c3401392bffee9c4639e178aada (rename
SwIndex->SwContentIndex, 2022-07-25).
Change-Id: I9a410e9b9ca8529454c50e93afd48b731a0fa320
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168018
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/contentindex.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/txtnode/ndtxt.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/unocore/unotext.cxx | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/contentindex.hxx b/sw/inc/contentindex.hxx index 873e1512ca4f..ea54b1c052a2 100644 --- a/sw/inc/contentindex.hxx +++ b/sw/inc/contentindex.hxx @@ -44,7 +44,7 @@ private: SwContentIndex * m_pNext; SwContentIndex * m_pPrev; - /// points to the SwRangeRedline (if any) that contains this SwIndex, via SwPosition and SwPaM + /// points to the SwRangeRedline (if any) that contains this SwContentIndex, via SwPosition and SwPaM SwRangeRedline * m_pRangeRedline = nullptr; /// Pointer to a mark that owns this position to allow fast lookup of marks of an SwContentIndexReg. diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx index 34619f0c7dfb..1d71a1cd8169 100644 --- a/sw/source/core/txtnode/ndtxt.cxx +++ b/sw/source/core/txtnode/ndtxt.cxx @@ -1455,7 +1455,7 @@ void SwTextNode::Update( if (!(eMode & UpdateMode::Negative) && !(eMode & UpdateMode::Delete)) { std::vector<SwRangeRedline*> vMyRedlines; - // walk the list of SwIndex attached to me and see if any of them are redlines + // walk the list of SwContentIndex attached to me and see if any of them are redlines const SwContentIndex* pContentNodeIndex = GetFirstIndex(); while (pContentNodeIndex) { diff --git a/sw/source/core/unocore/unotext.cxx b/sw/source/core/unocore/unotext.cxx index 50d9f75db63f..39b2016335ba 100644 --- a/sw/source/core/unocore/unotext.cxx +++ b/sw/source/core/unocore/unotext.cxx @@ -1579,7 +1579,7 @@ SwXText::convertToTextFrame( (pStartStartNode != GetStartNode())) { // if not - remove the additional paragraphs and throw - oAnchorCheckPam.reset(); // clear SwIndex before deleting nodes + oAnchorCheckPam.reset(); // clear SwContentIndex before deleting nodes if (bParaBeforeInserted) { SwCursor aDelete(*pStartPam->GetPoint(), nullptr); @@ -1653,7 +1653,7 @@ SwXText::convertToTextFrame( } } } - oAnchorCheckPam.reset(); // clear SwIndex before deleting nodes + oAnchorCheckPam.reset(); // clear SwContentIndex before deleting nodes const rtl::Reference<SwXTextFrame> xNewFrame = SwXTextFrame::CreateXTextFrame(*m_pImpl->m_pDoc, nullptr); |