diff options
author | Aurimas Fišeras <aurimas@members.fsf.org> | 2014-08-23 11:50:56 +0300 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2014-11-23 14:44:06 +0100 |
commit | 2894cd72dd356cb113cd229a12e2a2c3bb398bd8 (patch) | |
tree | a809781c2503aa99e865fd8a1a43471285e3dc9b | |
parent | 20105f4984421fdf98b5978e88025605069c9d31 (diff) |
added Lithuanian "LTL" to EUROCONVERT(), CONVERT()
Change-Id: Iefde129177df827c4b6508ff190f20e1e1973221
Reviewed-on: https://gerrit.libreoffice.org/11088
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
(cherry picked from commit 21c8b5815a21b6586fe13b12d00a9fb432c2aef4)
Reviewed-on: https://gerrit.libreoffice.org/12463
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | officecfg/registry/data/org/openoffice/Office/Calc.xcu | 11 | ||||
-rw-r--r-- | sc/source/core/tool/interpr2.cxx | 3 |
2 files changed, 13 insertions, 1 deletions
diff --git a/officecfg/registry/data/org/openoffice/Office/Calc.xcu b/officecfg/registry/data/org/openoffice/Office/Calc.xcu index 190766ec3c42..a62d06512704 100644 --- a/officecfg/registry/data/org/openoffice/Office/Calc.xcu +++ b/officecfg/registry/data/org/openoffice/Office/Calc.xcu @@ -217,6 +217,17 @@ <value>0.702804</value> </prop> </node> + <node oor:name="CR19" oor:op="replace"> + <prop oor:name="FromUnit"> + <value>EUR</value> + </prop> + <prop oor:name="ToUnit"> + <value>LTL</value> + </prop> + <prop oor:name="Factor"> + <value>3.45280</value> + </prop> + </node> </node> <node oor:name="Calculate"> <node oor:name="Other"> diff --git a/sc/source/core/tool/interpr2.cxx b/sc/source/core/tool/interpr2.cxx index d13f1e68c992..8867c0a5133b 100644 --- a/sc/source/core/tool/interpr2.cxx +++ b/sc/source/core/tool/interpr2.cxx @@ -2563,7 +2563,8 @@ static bool lclConvertMoney( const OUString& aSearchUnit, double& rfRate, int& r { "CYP", 0.585274, 2 }, { "SKK", 30.1260, 2 }, { "EEK", 15.6466, 2 }, - { "LVL", 0.702804, 2 } + { "LVL", 0.702804, 2 }, + { "LTL", 3.45280, 2 } }; const size_t nConversionCount = sizeof( aConvertTable ) / sizeof( aConvertTable[0] ); |