diff options
Diffstat (limited to 'sw/source/filter')
-rw-r--r-- | sw/source/filter/ascii/parasc.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/basflt/shellio.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/html/htmlgrin.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/html/htmltab.cxx | 6 |
4 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/filter/ascii/parasc.cxx b/sw/source/filter/ascii/parasc.cxx index 0b05173369ff..b29251bcbd8b 100644 --- a/sw/source/filter/ascii/parasc.cxx +++ b/sw/source/filter/ascii/parasc.cxx @@ -160,7 +160,7 @@ ErrCode SwASCIIParser::CallParser() sal_Int32 nSttContent = 0; if (!m_bNewDoc) { - const SwNodeIndex& rTmp = m_oPam->GetPoint()->nNode; + const SwNode& rTmp = m_oPam->GetPoint()->GetNode(); pInsPam.emplace( rTmp, rTmp, SwNodeOffset(0), SwNodeOffset(-1) ); nSttContent = m_oPam->GetPoint()->GetContentIndex(); } diff --git a/sw/source/filter/basflt/shellio.cxx b/sw/source/filter/basflt/shellio.cxx index 9c37a082cf58..cf45397a58de 100644 --- a/sw/source/filter/basflt/shellio.cxx +++ b/sw/source/filter/basflt/shellio.cxx @@ -169,7 +169,7 @@ ErrCode SwReader::Read( const Reader& rOptions ) if( bDocUndo || mpCursor ) { // set Pam to the previous node, so that it is not also moved - const SwNodeIndex& rTmp = pPam->GetPoint()->nNode; + const SwNode& rTmp = pPam->GetPoint()->GetNode(); pUndoPam.emplace( rTmp, rTmp, SwNodeOffset(0), SwNodeOffset(-1) ); } 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(); |