summaryrefslogtreecommitdiff
path: root/sw/source/filter/html
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-10-08 20:22:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-10-09 09:22:26 +0200
commitf17bd77105da8995df7a79c8978556a8848edf99 (patch)
treeaa23baaee4b9e80569f35b610c6123e1f93a2229 /sw/source/filter/html
parentd72571fdd47c627efcd0dff92fbe8a9747f92932 (diff)
use more SwPosition::GetNode
part of the process of hiding the internals of SwPosition Change-Id: Ia080b5bf4ca622e3bf0279ba41d8ccdd11e0be8c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141123 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/html')
-rw-r--r--sw/source/filter/html/swhtml.cxx4
-rw-r--r--sw/source/filter/html/swhtml.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/filter/html/swhtml.cxx b/sw/source/filter/html/swhtml.cxx
index 0f36092d080f..d7df162d6ab8 100644
--- a/sw/source/filter/html/swhtml.cxx
+++ b/sw/source/filter/html/swhtml.cxx
@@ -5445,8 +5445,8 @@ void SwHTMLParser::ParseMoreMetaOptions()
HTMLAttr::HTMLAttr( const SwPosition& rPos, const SfxPoolItem& rItem,
HTMLAttr **ppHd, std::shared_ptr<HTMLAttrTable> xAttrTab ) :
- m_nStartPara( rPos.nNode ),
- m_nEndPara( rPos.nNode ),
+ m_nStartPara( rPos.GetNode() ),
+ m_nEndPara( rPos.GetNode() ),
m_nStartContent( rPos.GetContentIndex() ),
m_nEndContent(rPos.GetContentIndex() ),
m_bInsAtStart( true ),
diff --git a/sw/source/filter/html/swhtml.hxx b/sw/source/filter/html/swhtml.hxx
index a4bf93f2f36d..9123d4e2b6e4 100644
--- a/sw/source/filter/html/swhtml.hxx
+++ b/sw/source/filter/html/swhtml.hxx
@@ -971,7 +971,7 @@ struct SwPending
inline void HTMLAttr::SetStart( const SwPosition& rPos )
{
- m_nStartPara = rPos.nNode;
+ m_nStartPara = rPos.GetNode();
m_nStartContent = rPos.GetContentIndex();
m_nEndPara = m_nStartPara;
m_nEndContent = m_nStartContent;