summaryrefslogtreecommitdiff
path: root/sw/source/core/edit/edfcol.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/edit/edfcol.cxx')
-rw-r--r--sw/source/core/edit/edfcol.cxx2
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());