sc/source/filter/xml/xmlexprt.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 27466acb4eda3ec6432d575091effe6c3a780950 Author: Eike Rathke <[email protected]> Date: Mon Oct 17 21:27:29 2016 +0200 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 diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx index bfd1efd..77d0364 100644 --- a/sc/source/filter/xml/xmlexprt.cxx +++ b/sc/source/filter/xml/xmlexprt.cxx @@ -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)); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
