summaryrefslogtreecommitdiff
path: root/sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx')
-rw-r--r--sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx b/sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx
index bf3e24cb00a9..0ea70eede278 100644
--- a/sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx
+++ b/sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx
@@ -533,8 +533,8 @@ void SwSpellDialogChildWindow::GetFocus()
SwPaM* pCursor = pWrtShell->GetCursor();
if(m_pSpellState->m_pPointNode != &pCursor->GetNode() ||
m_pSpellState->m_pMarkNode != &pCursor->GetNode(false)||
- m_pSpellState->m_nPointPos != pCursor->GetPoint()->nContent.GetIndex()||
- m_pSpellState->m_nMarkPos != pCursor->GetMark()->nContent.GetIndex())
+ m_pSpellState->m_nPointPos != pCursor->GetPoint()->GetContentIndex()||
+ m_pSpellState->m_nMarkPos != pCursor->GetMark()->GetContentIndex())
bInvalidate = true;
}
break;
@@ -590,8 +590,8 @@ void SwSpellDialogChildWindow::LoseFocus()
SwPaM* pCursor = pWrtShell->GetCursor();
m_pSpellState->m_pPointNode = &pCursor->GetNode();
m_pSpellState->m_pMarkNode = &pCursor->GetNode(false);
- m_pSpellState->m_nPointPos = pCursor->GetPoint()->nContent.GetIndex();
- m_pSpellState->m_nMarkPos = pCursor->GetMark()->nContent.GetIndex();
+ m_pSpellState->m_nPointPos = pCursor->GetPoint()->GetContentIndex();
+ m_pSpellState->m_nMarkPos = pCursor->GetMark()->GetContentIndex();
}
break;