diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-25 12:13:52 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-25 12:14:12 +0200 |
commit | eb9c04ed215f9b12584c6e254c36303c6b3865ed (patch) | |
tree | e0bed2cc0a5591321c49fd7f54a31e02a2aea75b /sw | |
parent | 7dd09f07a12affb8da0afd731ec2a99575a51e2e (diff) |
convert SPELLCMD_ constants to enum class
Change-Id: I0f57a60a44ddac63a73e0bb35df59b3b25857d43
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/docvw/SidebarTxtControl.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/uiview/viewdraw.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/docvw/SidebarTxtControl.cxx b/sw/source/uibase/docvw/SidebarTxtControl.cxx index 918586e8ee4f..88f5316b9ad9 100644 --- a/sw/source/uibase/docvw/SidebarTxtControl.cxx +++ b/sw/source/uibase/docvw/SidebarTxtControl.cxx @@ -321,7 +321,7 @@ void SidebarTxtControl::MouseButtonUp( const MouseEvent& rMEvt ) IMPL_LINK( SidebarTxtControl, OnlineSpellCallback, SpellCallbackInfo*, pInfo ) { - if ( pInfo->nCommand == SPELLCMD_STARTSPELLDLG ) + if ( pInfo->nCommand == SpellCallbackCommand::STARTSPELLDLG ) { mrDocView.GetViewFrame()->GetDispatcher()->Execute( FN_SPELL_GRAMMAR_DIALOG, SfxCallMode::ASYNCHRON); } 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; } |