Lines Matching refs:nCntrl
559 sal_uLong nCntrl = pEngine->GetControlWord(); in UpdateAutoCorrFlag() local
560 sal_uLong nOld = nCntrl; in UpdateAutoCorrFlag()
566 nCntrl &= ~EE_CNTRL_AUTOCORRECT; in UpdateAutoCorrFlag()
568 nCntrl |= EE_CNTRL_AUTOCORRECT; in UpdateAutoCorrFlag()
570 if ( nCntrl != nOld ) in UpdateAutoCorrFlag()
571 pEngine->SetControlWord(nCntrl); in UpdateAutoCorrFlag()
592 sal_uLong nCntrl = pEngine->GetControlWord(); in UpdateSpellSettings() local
593 sal_uLong nOld = nCntrl; in UpdateSpellSettings()
595 nCntrl |= EE_CNTRL_ONLINESPELLING; in UpdateSpellSettings()
597 nCntrl &= ~EE_CNTRL_ONLINESPELLING; in UpdateSpellSettings()
600 nCntrl &= ~EE_CNTRL_AUTOCORRECT; in UpdateSpellSettings()
602 nCntrl |= EE_CNTRL_AUTOCORRECT; in UpdateSpellSettings()
603 if ( nCntrl != nOld ) in UpdateSpellSettings()
604 pEngine->SetControlWord(nCntrl); in UpdateSpellSettings()
3471 sal_uLong nCntrl = pEngine->GetControlWord(); in NotifyChange() local
3472 if ( nCntrl & EE_CNTRL_ONLINESPELLING ) in NotifyChange()
3473 pEngine->SetControlWord( nCntrl & ~EE_CNTRL_ONLINESPELLING ); in NotifyChange()