diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-08-10 13:43:56 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-08-14 12:03:26 +0200 |
commit | edc5240a96f003b9aec8f8d2ce92db39ad603fd7 (patch) | |
tree | da0faa62c787e15d7368a5dbf48e723c96652e2c /sw/source/core/edit/edfcol.cxx | |
parent | ab0d9af99b2dc69fa8e7463fb33ca28cbccf484d (diff) |
rename SwPaM::GetContentNode to GetPointContentNode/GetMarkContentNode
Using a parameter to select point/mark makes the code much harder to
read
Change-Id: Ic24098a6045ff2262d4c808228ded7bf8206fe8b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138085
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/edit/edfcol.cxx')
-rw-r--r-- | sw/source/core/edit/edfcol.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/edit/edfcol.cxx b/sw/source/core/edit/edfcol.cxx index b155f9b0737c..e3cbb92119bd 100644 --- a/sw/source/core/edit/edfcol.cxx +++ b/sw/source/core/edit/edfcol.cxx @@ -2273,7 +2273,7 @@ SwTextFormatColl* SwEditShell::MakeTextFormatColl(const OUString& rFormatCollNam void SwEditShell::FillByEx(SwTextFormatColl* pColl) { SwPaM * pCursor = GetCursor(); - SwContentNode * pCnt = pCursor->GetContentNode(); + SwContentNode * pCnt = pCursor->GetPointContentNode(); if (pCnt->IsTextNode()) // uhm... what nonsense would happen if not? { // only need properties-node because BREAK/PAGEDESC filtered anyway! pCnt = sw::GetParaPropsNode(*GetLayout(), pCursor->GetPoint()->GetNode()); |