summaryrefslogtreecommitdiffstats
path: root/sw/source/core/docnode/ndtbl1.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/core/docnode/ndtbl1.cxx
parentuse more SwPosition::GetNode instead of nNode (diff)
downloadcore-ab0d9af99b2dc69fa8e7463fb33ca28cbccf484d.tar.gz
core-ab0d9af99b2dc69fa8e7463fb33ca28cbccf484d.zip
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/core/docnode/ndtbl1.cxx')
-rw-r--r--sw/source/core/docnode/ndtbl1.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/docnode/ndtbl1.cxx b/sw/source/core/docnode/ndtbl1.cxx
index e56232b41095..127e17a8c38e 100644
--- a/sw/source/core/docnode/ndtbl1.cxx
+++ b/sw/source/core/docnode/ndtbl1.cxx
@@ -152,7 +152,7 @@ static bool lcl_GetBoxSel( const SwCursor& rCursor, SwSelBoxes& rBoxes,
{
const SwPaM *pCurPam = &rCursor, *pSttPam = pCurPam;
do {
- const SwNode* pNd = pCurPam->GetNode().FindTableBoxStartNode();
+ const SwNode* pNd = pCurPam->GetPointNode().FindTableBoxStartNode();
if( pNd )
{
SwTableBox* pBox = const_cast<SwTableBox*>(pNd->FindTableNode()->GetTable().