summaryrefslogtreecommitdiff
path: root/sw/source/uibase/shells/drwtxtsh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/shells/drwtxtsh.cxx')
-rw-r--r--sw/source/uibase/shells/drwtxtsh.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/shells/drwtxtsh.cxx b/sw/source/uibase/shells/drwtxtsh.cxx
index ccadc8f92a06..a2aa744ccb06 100644
--- a/sw/source/uibase/shells/drwtxtsh.cxx
+++ b/sw/source/uibase/shells/drwtxtsh.cxx
@@ -103,8 +103,8 @@ void SwDrawTextShell::Init()
if( !pOutliner )
return ;
OutlinerView* pOLV = pSdrView->GetTextEditOutlinerView();
- sal_uLong nCtrl = pOutliner->GetControlWord();
- nCtrl |= EE_CNTRL_AUTOCORRECT;
+ EEControlBits nCtrl = pOutliner->GetControlWord();
+ nCtrl |= EEControlBits::AUTOCORRECT;
SetUndoManager(&pOutliner->GetUndoManager());
@@ -113,10 +113,10 @@ void SwDrawTextShell::Init()
const SwViewOption* pVOpt = rSh.GetViewOptions();
if(pVOpt->IsOnlineSpell())
{
- nCtrl |= EE_CNTRL_ONLINESPELLING|EE_CNTRL_ALLOWBIGOBJS;
+ nCtrl |= EEControlBits::ONLINESPELLING|EEControlBits::ALLOWBIGOBJS;
}
else
- nCtrl &= ~(EE_CNTRL_ONLINESPELLING);
+ nCtrl &= ~(EEControlBits::ONLINESPELLING);
pOutliner->SetControlWord(nCtrl);
pOLV->ShowCursor();