summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/viewdraw.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-25 12:13:52 +0200
committerNoel Grandin <noel@peralex.com>2015-03-25 12:14:12 +0200
commiteb9c04ed215f9b12584c6e254c36303c6b3865ed (patch)
treee0bed2cc0a5591321c49fd7f54a31e02a2aea75b /sw/source/uibase/uiview/viewdraw.cxx
parent7dd09f07a12affb8da0afd731ec2a99575a51e2e (diff)
convert SPELLCMD_ constants to enum class
Change-Id: I0f57a60a44ddac63a73e0bb35df59b3b25857d43
Diffstat (limited to 'sw/source/uibase/uiview/viewdraw.cxx')
-rw-r--r--sw/source/uibase/uiview/viewdraw.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uiview/viewdraw.cxx b/sw/source/uibase/uiview/viewdraw.cxx
index 249787afa234..ccc39a4aca63 100644
--- a/sw/source/uibase/uiview/viewdraw.cxx
+++ b/sw/source/uibase/uiview/viewdraw.cxx
@@ -721,7 +721,7 @@ bool SwView::HasOnlyObj(SdrObject *pSdrObj, sal_uInt32 eObjInventor) const
//#i87414# mod
IMPL_LINK(SwView, OnlineSpellCallback, SpellCallbackInfo*, pInfo)
{
- if (pInfo->nCommand == SPELLCMD_STARTSPELLDLG)
+ if (pInfo->nCommand == SpellCallbackCommand::STARTSPELLDLG)
GetViewFrame()->GetDispatcher()->Execute( FN_SPELL_GRAMMAR_DIALOG, SfxCallMode::ASYNCHRON);
return 0;
}