summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2012-12-13 23:54:44 +0100
committerEike Rathke <erack@redhat.com>2012-12-13 23:55:33 +0100
commit3c89d9c2b3f2a4bb260624ba97692879ccc3f5c1 (patch)
treeb8f60be91765d358dd728f6571c09a76408d8230 /xmloff/source
parent58889b2f592658a6c68ed13fe604fbbe7eaad96a (diff)
added some FIXME-BCP47 markers
Change-Id: I085ca72b6c2dc1e73f4af7233017895bf92b2ef8 (cherry picked from commit 34b7826f9814b09dcd6aba15552bef1c330f3db2)
Diffstat (limited to 'xmloff/source')
-rw-r--r--xmloff/source/style/xmlnumfe.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/xmloff/source/style/xmlnumfe.cxx b/xmloff/source/style/xmlnumfe.cxx
index 694d939386c5..98e3e9e803cb 100644
--- a/xmloff/source/style/xmlnumfe.cxx
+++ b/xmloff/source/style/xmlnumfe.cxx
@@ -342,6 +342,12 @@ void SvXMLNumFmtExport::AddLanguageAttr_Impl( sal_Int32 nLang )
{
if ( nLang != LANGUAGE_SYSTEM )
{
+ /* FIXME-BCP47: handle language tags!
+ * ODF now provides fo:script, and rfc-language-tag attribute in case a
+ * locale can't be expressed using these three ISO codes.
+ * Of course these need to be read in xmlnumfi.cxx then..
+ * In general all places using XML_LANGUAGE and XML_COUNTRY need to be
+ * adapted once we really support bcp47. */
OUString aLangStr, aCountryStr;
LanguageTag( (LanguageType)nLang ).getIsoLanguageCountry( aLangStr, aCountryStr );