summaryrefslogtreecommitdiffstats
path: root/sw/source/core/edit/edfmt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/edit/edfmt.cxx')
-rw-r--r--sw/source/core/edit/edfmt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/edit/edfmt.cxx b/sw/source/core/edit/edfmt.cxx
index 9a4fa24e151c..0a51dac96f8c 100644
--- a/sw/source/core/edit/edfmt.cxx
+++ b/sw/source/core/edit/edfmt.cxx
@@ -51,7 +51,7 @@ SwCharFormat* SwEditShell::GetCurCharFormat() const
void SwEditShell::FillByEx(SwCharFormat* pCharFormat)
{
SwPaM* pPam = GetCursor();
- const SwContentNode* pCNd = pPam->GetContentNode();
+ const SwContentNode* pCNd = pPam->GetPointContentNode();
if( pCNd->IsTextNode() )
{
SwTextNode const*const pTextNode(pCNd->GetTextNode());