diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2008-12-15 12:01:46 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2008-12-15 12:01:46 +0000 |
commit | 89060c11c46b1a9362373c8a7e590c8a4d26e04b (patch) | |
tree | 920bb39d2200384def3acd7b4d079df569069526 /sw/source/ui/shells/drwtxtex.cxx | |
parent | 4a2942b920645710c1b665c2b06dd8f531f66054 (diff) |
CWS-TOOLING: integrate CWS tl56_DEV300
Diffstat (limited to 'sw/source/ui/shells/drwtxtex.cxx')
-rw-r--r-- | sw/source/ui/shells/drwtxtex.cxx | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/sw/source/ui/shells/drwtxtex.cxx b/sw/source/ui/shells/drwtxtex.cxx index 6ade7e14f2..1bdc0f492d 100644 --- a/sw/source/ui/shells/drwtxtex.cxx +++ b/sw/source/ui/shells/drwtxtex.cxx @@ -347,7 +347,6 @@ void SwDrawTextShell::Execute( SfxRequest &rReq ) aNewAttr.Put(*pArgs); } break; - case SID_AUTOSPELL_MARKOFF: case SID_AUTOSPELL_CHECK: { //!! JP 16.03.2001: why?? pSdrView = rSh.GetDrawView(); @@ -357,20 +356,10 @@ void SwDrawTextShell::Execute( SfxRequest &rReq ) sal_Bool bSet = ((const SfxBoolItem&)rReq.GetArgs()->Get( nSlot)).GetValue(); - if(nSlot == SID_AUTOSPELL_MARKOFF) - { - if(bSet) - nCtrl |= EE_CNTRL_NOREDLINES; - else - nCtrl &= ~EE_CNTRL_NOREDLINES; - } + if(bSet) + nCtrl |= EE_CNTRL_ONLINESPELLING|EE_CNTRL_ALLOWBIGOBJS; else - { - if(bSet) - nCtrl |= EE_CNTRL_ONLINESPELLING|EE_CNTRL_ALLOWBIGOBJS; - else - nCtrl &= ~EE_CNTRL_ONLINESPELLING; - } + nCtrl &= ~EE_CNTRL_ONLINESPELLING; pOutliner->SetControlWord(nCtrl); rView.ExecuteSlot(rReq); @@ -728,7 +717,6 @@ void SwDrawTextShell::GetDrawTxtCtrlState(SfxItemSet& rSet) case SID_ATTR_CHAR_CONTOUR: nEEWhich = EE_CHAR_OUTLINE; break; case SID_ATTR_CHAR_SHADOWED: nEEWhich = EE_CHAR_SHADOW;break; case SID_ATTR_CHAR_STRIKEOUT: nEEWhich = EE_CHAR_STRIKEOUT;break; - case SID_AUTOSPELL_MARKOFF: case SID_AUTOSPELL_CHECK: { const SfxPoolItem* pState = rView.GetSlotState(nWhich); |