summaryrefslogtreecommitdiff
path: root/sw/source/uibase/lingu/olmenu.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/lingu/olmenu.cxx')
-rw-r--r--sw/source/uibase/lingu/olmenu.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/lingu/olmenu.cxx b/sw/source/uibase/lingu/olmenu.cxx
index 3202dcee2250..66cf66f94b18 100644
--- a/sw/source/uibase/lingu/olmenu.cxx
+++ b/sw/source/uibase/lingu/olmenu.cxx
@@ -671,7 +671,7 @@ void SwSpellPopup::Execute( sal_uInt16 nId )
SwRewriter aRewriter;
- aRewriter.AddRule(UndoArg1, m_pSh->GetCrsrDescr());
+ aRewriter.AddRule(UndoArg1, m_pSh->GetCursorDescr());
aRewriter.AddRule(UndoArg2, OUString(SW_RES(STR_YIELDS)));
OUString aTmpStr( SW_RES(STR_START_QUOTE) );
@@ -728,7 +728,7 @@ void SwSpellPopup::Execute( sal_uInt16 nId )
}
else if (nId == MN_IGNORE_SELECTION)
{
- SwPaM *pPaM = m_pSh->GetCrsr();
+ SwPaM *pPaM = m_pSh->GetCursor();
if (pPaM)
SwEditShell::IgnoreGrammarErrorAt( *pPaM );
}
@@ -742,7 +742,7 @@ void SwSpellPopup::Execute( sal_uInt16 nId )
m_xGrammarResult.aErrors[ m_nGrammarError ].aRuleIdentifier,
m_xGrammarResult.aLocale );
// refresh the layout of the actual paragraph (faster)
- SwPaM *pPaM = m_pSh->GetCrsr();
+ SwPaM *pPaM = m_pSh->GetCursor();
if (pPaM)
SwEditShell::IgnoreGrammarErrorAt( *pPaM );
// refresh the layout of all paragraphs (workaround to launch a dictionary event)