Kaydet (Commit) 27466acb authored tarafından Eike Rathke's avatar Eike Rathke

pamper over-pessimistic whining compilers, tdf#102357 follow-up

No, stupid, the switch-cases really cover all possible cases we entered this
block for.

Change-Id: I1abbe2d784d5bbcc29c4c929adb622d9fe92fe54
üst c3f096c7
......@@ -1240,6 +1240,8 @@ const SvxFieldData* toXMLPropertyStates(
nIndexScript = xMapper->GetEntryIndex( XML_NAMESPACE_STYLE, "script-complex", 0);
nIndexTag = xMapper->GetEntryIndex( XML_NAMESPACE_STYLE, "rfc-language-tag-complex", 0);
break;
default:
nIndexLanguage = nIndexCountry = nIndexScript = nIndexTag = -1;
}
assert( nIndexLanguage >= 0 && nIndexCountry >= 0 && nIndexScript >= 0 && nIndexTag >= 0);
rPropStates.push_back( XMLPropertyState( nIndexLanguage, aAny));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment