diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2022-05-19 13:23:33 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2022-05-25 21:10:12 +0200 |
commit | 7dc49d024c23ef2b4a41484427a4dd18e6690756 (patch) | |
tree | af8d1897523eb6bd0d31efed69881c0bb045704c /chart2/inc/pch/precompiled_chartcontroller.hxx | |
parent | 7483d54d45b9931064dc20adc6fdb28597667859 (diff) |
sw: language fallback in MSWordExportBase::GetNumberFormat()
feature/cib_contract3753
There is this number format:
<number:date-style style:name="N36" number:automatic-order="true">
<number:day number:style="long"/>
<number:text>.</number:text>
<number:month number:style="long"/>
<number:text>.</number:text>
<number:year number:style="long"/>
</number:date-style>
in a paragraph which has fo:language="zxx", so the field has
LANGUAGE_NONE.
MSWordExportBase::GetNumberFormat() exports as: DATE \@"dd/MM/yyyy"
But should be: DATE \@"dd.MM.yyyy"
Follow Eike's suggestion to use the number format's language in case the
field doesn't have one.
Change-Id: I596bea5daa75c717931b3c5d5506103b87b8ee08
Diffstat (limited to 'chart2/inc/pch/precompiled_chartcontroller.hxx')
0 files changed, 0 insertions, 0 deletions