summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/wrtw8nds.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-08-19 18:49:14 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-08-20 09:50:35 +0200
commit5bbe546488508a77dc9ca090f2e50191a88c509c (patch)
treea3e6db1810a1f42033becfc8688ae6519e784350 /sw/source/filter/ww8/wrtw8nds.cxx
parentc4d43643ac53249df870141eb8b89ea0e774b9a5 (diff)
use more SwPosition::GetNode
Change-Id: Idbf0f55c5b1542e5a0f8ef29b77bb391e861310e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138563 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/ww8/wrtw8nds.cxx')
-rw-r--r--sw/source/filter/ww8/wrtw8nds.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx
index 15e51affd20b..185b01aead79 100644
--- a/sw/source/filter/ww8/wrtw8nds.cxx
+++ b/sw/source/filter/ww8/wrtw8nds.cxx
@@ -1570,7 +1570,7 @@ const SwRedlineData* SwWW8AttrIter::GetRunLevelRedline( sal_Int32 nPos )
if( m_pCurRedline )
{
const SwPosition* pEnd = m_pCurRedline->End();
- if (pEnd->nNode != m_rNode || pEnd->GetContentIndex() > nPos)
+ if (pEnd->GetNode() != m_rNode || pEnd->GetContentIndex() > nPos)
{
switch( m_pCurRedline->GetType() )
{
@@ -2227,7 +2227,7 @@ bool MSWordExportBase::NeedTextNodeSplit( const SwTextNode& rNd, SwSoftPageBreak
pos = it;
while (auto const*const pMark = rIDMA.getFieldmarkFor(SwPosition(rNd, pos)))
{
- if (pMark->GetMarkEnd().nNode != rNd)
+ if (pMark->GetMarkEnd().GetNode() != rNd)
{
pos = rNd.Len(); // skip everything
break;