summaryrefslogtreecommitdiffstats
path: root/sw/source/core/edit/edattr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/edit/edattr.cxx')
-rw-r--r--sw/source/core/edit/edattr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/edit/edattr.cxx b/sw/source/core/edit/edattr.cxx
index cf2571d63410..01f29cd05b97 100644
--- a/sw/source/core/edit/edattr.cxx
+++ b/sw/source/core/edit/edattr.cxx
@@ -395,7 +395,7 @@ bool SwEditShell::GetCurFootnote( SwFormatFootnote* pFillFootnote )
{
// The cursor must be positioned on the current footnotes anchor:
SwPaM* pCursor = GetCursor();
- SwTextNode* pTextNd = pCursor->GetNode().GetTextNode();
+ SwTextNode* pTextNd = pCursor->GetPointNode().GetTextNode();
if( !pTextNd )
return false;