summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-10-17 22:05:17 +0200
committerEike Rathke <erack@redhat.com>2016-10-17 22:06:39 +0200
commitab6f04ded935d314c5b763fef1015b1ed06c1db5 (patch)
tree9666ce088d3eec572e24ed0eb3a84b0cdd53624e /sc
parentd786606b33cfc146a3a1f3adf814196993d3b310 (diff)
comment that the country entries are just placeholders
09f2f36 related, tdf#102357 Change-Id: I053853227d36dfd17da5914487a6aefe8af06f2d
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/xml/editattributemap.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/filter/xml/editattributemap.cxx b/sc/source/filter/xml/editattributemap.cxx
index 057adc0d932d..3a2dec744893 100644
--- a/sc/source/filter/xml/editattributemap.cxx
+++ b/sc/source/filter/xml/editattributemap.cxx
@@ -57,6 +57,9 @@ ScXMLEditAttributeMap::Entry aEntries[] = {
{ XML_NAMESPACE_STYLE, "text-position", "CharEscapement", EE_CHAR_ESCAPEMENT, MID_ESC },
{ XML_NAMESPACE_STYLE, "text-position", "CharEscapementHeight", EE_CHAR_ESCAPEMENT, MID_ESC_HEIGHT },
{ XML_NAMESPACE_STYLE, "text-emphasize", "CharEmphasis", EE_CHAR_EMPHASISMARK, MID_EMPHASIS },
+ // The following 3 "country" entries are just placeholders for language,
+ // country, script and rfc-language-tag, which all map to CharLocale,
+ // EE_CHAR_LANGUAGE and MID_LANG_LOCALE and are handled individually.
{ XML_NAMESPACE_FO, "country", "CharLocale", EE_CHAR_LANGUAGE, MID_LANG_LOCALE },
{ XML_NAMESPACE_STYLE, "country-asian", "CharLocaleAsian", EE_CHAR_LANGUAGE_CJK, MID_LANG_LOCALE },
{ XML_NAMESPACE_STYLE, "country-complex", "CharLocaleComplex", EE_CHAR_LANGUAGE_CTL, MID_LANG_LOCALE },