Resolves: tdf#150011 Add HRK Croatian Kuna conversion to EUR Euro

TODO: switch defaults before 2023-01-01 in
i18npool/source/localedata/data/hr_HR.xml

Change-Id: Ifc62aefbc8c9fe8bbf044f61ae4fd6eeff692185
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137371
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
This commit is contained in:
Eike Rathke 2022-07-22 22:12:02 +02:00
parent 2053fac9a8
commit 7c4b2db21e
3 changed files with 21 additions and 1 deletions

View file

@ -421,6 +421,14 @@
<CurrencyName>Hrvatska Kuna</CurrencyName>
<DecimalPlaces>2</DecimalPlaces>
</Currency>
<!-- TODO: switch defaults before 2023-01-01 -->
<Currency default="false" usedInCompatibleFormatCodes="false">
<CurrencyID>EUR</CurrencyID>
<CurrencySymbol></CurrencySymbol>
<BankSymbol>EUR</BankSymbol>
<CurrencyName>Euro</CurrencyName>
<DecimalPlaces>2</DecimalPlaces>
</Currency>
</LC_CURRENCY>
<LC_TRANSLITERATION>
<Transliteration unoid="SENTENCE_CASE"/>

View file

@ -228,6 +228,17 @@
<value>3.45280</value>
</prop>
</node>
<node oor:name="CR20" oor:op="replace">
<prop oor:name="FromUnit">
<value>EUR</value>
</prop>
<prop oor:name="ToUnit">
<value>HRK</value>
</prop>
<prop oor:name="Factor">
<value>7.53450</value>
</prop>
</node>
</node>
<node oor:name="Calculate">
<node oor:name="Other">

View file

@ -3235,7 +3235,8 @@ static bool lclConvertMoney( const OUString& aSearchUnit, double& rfRate, int& r
{ "SKK", 30.1260, 2 },
{ "EEK", 15.6466, 2 },
{ "LVL", 0.702804, 2 },
{ "LTL", 3.45280, 2 }
{ "LTL", 3.45280, 2 },
{ "HRK", 7.53450, 2 }
};
for (const auto & i : aConvertTable)