summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-10-17 21:27:29 +0200
committerEike Rathke <erack@redhat.com>2016-10-17 21:27:38 +0200
commit27466acb4eda3ec6432d575091effe6c3a780950 (patch)
tree575a3d1e7527613e348180f8da018d0a2be6fddf /sc
parentc3f096c7630994450625307091a0e6009fb02bc4 (diff)
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
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/xml/xmlexprt.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx
index bfd1efdee41a..77d0364eda05 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));