summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/ww8atr.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-08-10 11:47:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-08-14 12:02:57 +0200
commitab0d9af99b2dc69fa8e7463fb33ca28cbccf484d (patch)
treeadd60bc9fa4c6b6016ab487e15d472355841b8a9 /sw/source/filter/ww8/ww8atr.cxx
parent25a299a8859e82fe0fdafc2bb70680aed54d3887 (diff)
rename SwPaM::GetNode to GetPointNode/GetContentNode
Using a parameter to select point/mark makes the code much harder to read Change-Id: I4ac8b904ac423e2b99253b7e4b6adc72c8afe1a7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138083 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/ww8/ww8atr.cxx')
-rw-r--r--sw/source/filter/ww8/ww8atr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8atr.cxx b/sw/source/filter/ww8/ww8atr.cxx
index d83af1e5a6c9..58d0a5bd4995 100644
--- a/sw/source/filter/ww8/ww8atr.cxx
+++ b/sw/source/filter/ww8/ww8atr.cxx
@@ -3293,7 +3293,7 @@ void AttributeOutputBase::TextField( const SwFormatField& rField )
const SwTextNode *pTextNd = GetExport().GetHdFtPageRoot();
if (!pTextNd)
{
- pTextNd = GetExport().m_pCurPam->GetNode().GetTextNode();
+ pTextNd = GetExport().m_pCurPam->GetPointNode().GetTextNode();
}
if (pTextNd)