CID#1202769 comfort coverity
Change-Id: I84214dde71883065f1ca3737180f0d739b49d8ee
This commit is contained in:
parent
99b06e60ca
commit
e51ca50607
@ -1976,10 +1976,16 @@ bool LanguageTagImpl::isIsoODF() const
|
||||
{
|
||||
const_cast<LanguageTagImpl*>(this)->synCanonicalize();
|
||||
if (!LanguageTag::isIsoScript( getScript()))
|
||||
return ((meIsIsoODF = DECISION_NO) == DECISION_YES);
|
||||
{
|
||||
meIsIsoODF = DECISION_NO;
|
||||
return false;
|
||||
}
|
||||
// The usual case is lll-CC so simply check that first.
|
||||
if (isIsoLocale())
|
||||
return ((meIsIsoODF = DECISION_YES) == DECISION_YES);
|
||||
{
|
||||
meIsIsoODF = DECISION_YES;
|
||||
return true;
|
||||
}
|
||||
// If this is not ISO locale for which script must not exist it can
|
||||
// still be ISO locale plus ISO script lll-Ssss-CC, but not ll-vvvv ...
|
||||
// ll-vvvvvvvv
|
||||
|
Loading…
x
Reference in New Issue
Block a user