diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-08-01 10:01:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-08-02 13:57:14 +0200 |
commit | c1c195afab72794a1f0d5ed63c2e3fe6f65bfa84 (patch) | |
tree | e64b047be56d1079ba1976456c5df70bb957b157 /sw/source/core/unocore/unosect.cxx | |
parent | d11f2e00593300dc68bcd11e23ad05116465adba (diff) |
introduce SwPosition::GetNode
as part of the process of hiding the internals of SwPosition
largely done by doing:
git grep -lF 'nNode.GetNode' | xargs perl -pi -e
's/nNode\.GetNode/GetNode/g'
Change-Id: Id1937df1bd5a54677c2c1bbfb2d693a4e22a7b98
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137671
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/unocore/unosect.cxx')
-rw-r--r-- | sw/source/core/unocore/unosect.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/unocore/unosect.cxx b/sw/source/core/unocore/unosect.cxx index 29672c7f178d..e28ab9e9ea2d 100644 --- a/sw/source/core/unocore/unosect.cxx +++ b/sw/source/core/unocore/unosect.cxx @@ -448,8 +448,8 @@ SwXTextSection::getAnchor() SwPaM aPaM(*pIdx); aPaM.Move( fnMoveForward, GoInContent ); assert(pIdx->GetNode().IsSectionNode()); - if (aPaM.GetPoint()->nNode.GetNode().FindTableNode() != pIdx->GetNode().FindTableNode() - || aPaM.GetPoint()->nNode.GetNode().FindSectionNode() != &pIdx->GetNode()) + if (aPaM.GetPoint()->GetNode().FindTableNode() != pIdx->GetNode().FindTableNode() + || aPaM.GetPoint()->GetNode().FindSectionNode() != &pIdx->GetNode()) { isMoveIntoTable = true; } @@ -457,8 +457,8 @@ SwXTextSection::getAnchor() const SwEndNode* pEndNode = pIdx->GetNode().EndOfSectionNode(); SwPaM aEnd(*pEndNode); aEnd.Move( fnMoveBackward, GoInContent ); - if (aEnd.GetPoint()->nNode.GetNode().FindTableNode() != pIdx->GetNode().FindTableNode() - || aEnd.GetPoint()->nNode.GetNode().FindSectionNode() != &pIdx->GetNode()) + if (aEnd.GetPoint()->GetNode().FindTableNode() != pIdx->GetNode().FindTableNode() + || aEnd.GetPoint()->GetNode().FindSectionNode() != &pIdx->GetNode()) { isMoveIntoTable = true; } |