[Libreoffice-commits] core.git: oox/source
Eike Rathke
erack at redhat.com
Thu Jul 4 12:21:57 PDT 2013
oox/source/core/xmlfilterbase.cxx | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
New commits:
commit 2429a89cf354c1af992a0ed5afad0b326b9d634a
Author: Eike Rathke <erack at redhat.com>
Date: Thu Jul 4 21:20:59 2013 +0200
Revert "write bcp47"
This reverts commit 40aceaae06a354958d6ecf88292bb0fd483f158b.
It's dc:language ...
diff --git a/oox/source/core/xmlfilterbase.cxx b/oox/source/core/xmlfilterbase.cxx
index 21d81b4..c9c7892 100644
--- a/oox/source/core/xmlfilterbase.cxx
+++ b/oox/source/core/xmlfilterbase.cxx
@@ -506,9 +506,8 @@ writeElement( FSHelperPtr pDoc, sal_Int32 nXmlElement, Sequence< OUString > aIte
static void
writeElement( FSHelperPtr pDoc, sal_Int32 nXmlElement, const LanguageTag& rLanguageTag )
{
- // OOXML ISO 29500 22.9.2.6 ST_Lang (Language Reference) says this is a
- // BCP 47 language tag.
- writeElement( pDoc, nXmlElement, rLanguageTag.getBcp47() );
+ // TODO: what to do with .Country and .Variant
+ writeElement( pDoc, nXmlElement, rLanguageTag.getLanguage() );
}
static void
More information about the Libreoffice-commits
mailing list