summaryrefslogtreecommitdiff
path: root/sw/source/filter/html
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/html')
-rw-r--r--sw/source/filter/html/htmlgrin.cxx2
-rw-r--r--sw/source/filter/html/htmltab.cxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/filter/html/htmlgrin.cxx b/sw/source/filter/html/htmlgrin.cxx
index 4f9572d93dae..9d0ee1011427 100644
--- a/sw/source/filter/html/htmlgrin.cxx
+++ b/sw/source/filter/html/htmlgrin.cxx
@@ -851,7 +851,7 @@ IMAGE_SETEVENT:
if ((RndStdIds::FLY_AS_CHAR == pFlyFormat->GetAnchor().GetAnchorId()) &&
m_xAttrTab->pINetFormat->GetStartParagraph() ==
- m_pPam->GetPoint()->nNode &&
+ m_pPam->GetPoint()->GetNode() &&
m_xAttrTab->pINetFormat->GetStartContent() ==
m_pPam->GetPoint()->GetContentIndex() - 1 )
{
diff --git a/sw/source/filter/html/htmltab.cxx b/sw/source/filter/html/htmltab.cxx
index 5d3d56dec7e7..c0ec29da8e4d 100644
--- a/sw/source/filter/html/htmltab.cxx
+++ b/sw/source/filter/html/htmltab.cxx
@@ -3159,7 +3159,7 @@ std::unique_ptr<HTMLTableCnts> SwHTMLParser::InsertTableContents(
}
// Reset attributation start
- const SwNodeIndex& rSttPara = m_pPam->GetPoint()->nNode;
+ const SwNode& rSttPara = m_pPam->GetPoint()->GetNode();
sal_Int32 nSttCnt = m_pPam->GetPoint()->GetContentIndex();
HTMLAttr** pHTMLAttributes = reinterpret_cast<HTMLAttr**>(m_xAttrTab.get());
@@ -3843,7 +3843,7 @@ void SwHTMLParser::BuildTableCell( HTMLTable *pCurTable, bool bReadOptions,
{
HTMLTableContext* pTableContext = m_xTable ? m_xTable->GetContext() : nullptr;
SwPosition* pSavedPos = pTableContext ? pTableContext->GetPos() : nullptr;
- const bool bDeleteSafe = !pSavedPos || pSavedPos->nNode != m_pPam->GetPoint()->GetNode();
+ const bool bDeleteSafe = !pSavedPos || pSavedPos->GetNode() != m_pPam->GetPoint()->GetNode();
if (bDeleteSafe)
StripTrailingPara();
}
@@ -4926,7 +4926,7 @@ void SwHTMLParser::ClearFootnotesMarksInRange(const SwNodeIndex& rMkNdIdx, const
(rAnch.GetAnchorId() == RndStdIds::FLY_AT_CHAR)) &&
( rMkNdIdx < pAPos->GetNode() && pAPos->GetNode() <= rPtNdIdx.GetNode() ))
{
- if( rPtNdIdx != pAPos->nNode )
+ if( rPtNdIdx != pAPos->GetNode() )
{
// If the Fly is deleted, all Flys in its content have to be deleted too.
const SwFormatContent &rContent = pFormat->GetContent();