Lines Matching refs:aNewLangTxt
119 String aNewLangTxt; in SetLanguageStatus() local
123 aNewLangTxt = pItem->GetValue(); in SetLanguageStatus()
130 if (aNewLangTxt.EqualsAscii( "*" )) in SetLanguageStatus()
144 if (aNewLangTxt.Len() > 0) in SetLanguageStatus()
155 if (STRING_NOTFOUND != (nPos = aNewLangTxt.Search( aSelectionLangPrefix, 0 ))) in SetLanguageStatus()
158 aNewLangTxt = aNewLangTxt.Erase( nPos, aSelectionLangPrefix.Len() ); in SetLanguageStatus()
161 else if (STRING_NOTFOUND != (nPos = aNewLangTxt.Search( aParagraphLangPrefix , 0 ))) in SetLanguageStatus()
164 aNewLangTxt = aNewLangTxt.Erase( nPos, aParagraphLangPrefix.Len() ); in SetLanguageStatus()
168 else if (STRING_NOTFOUND != (nPos = aNewLangTxt.Search( aDocumentLangPrefix , 0 ))) in SetLanguageStatus()
171 aNewLangTxt = aNewLangTxt.Erase( nPos, aDocumentLangPrefix.Len() ); in SetLanguageStatus()
192 if (aNewLangTxt == aStrNone) in SetLanguageStatus()
194 else if (aNewLangTxt == aStrResetLangs) in SetLanguageStatus()
197 SwLangHelper::SetLanguage( rSh, pOLV, aSelection, aNewLangTxt, bForSelection, aEditAttr ); in SetLanguageStatus()