diff options
author | Regényi Balázs <regenyi.balazs+gerrit@gmail.com> | 2020-04-07 10:01:15 +0200 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2020-04-17 13:50:54 +0200 |
commit | 01752af18d623676c4ebc7a8a4a47f69dfb79057 (patch) | |
tree | 6df4102a2f72209c5714c7929c9f635bacdb75d8 /oox/source/drawingml | |
parent | f569507f3f0da7f69a2e808165612cbef4c15410 (diff) |
tdf#131922 DOCX DrawingML shape import: fix lang-id
The language identifier of text of grouped shapes wasn't imported.
Co-Author: Szabolcs Tóth
Change-Id: Ic71ea1bdf3aed27ad813cfa33659921060c0ec0b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91801
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'oox/source/drawingml')
-rw-r--r-- | oox/source/drawingml/textcharacterpropertiescontext.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/oox/source/drawingml/textcharacterpropertiescontext.cxx b/oox/source/drawingml/textcharacterpropertiescontext.cxx index 4533a96e1cca..7658d41031f0 100644 --- a/oox/source/drawingml/textcharacterpropertiescontext.cxx +++ b/oox/source/drawingml/textcharacterpropertiescontext.cxx @@ -262,6 +262,9 @@ ContextHandlerRef TextCharacterPropertiesContext::onCreateContext( sal_Int32 aEl mrTextCharacterProperties.moBaseline = -25000; break; } + case W_TOKEN(lang): + mrTextCharacterProperties.moLang = rAttribs.getString(W_TOKEN(val), OUString()); + break; case OOX_TOKEN(w14, glow): case OOX_TOKEN(w14, shadow): case OOX_TOKEN(w14, reflection): |