diff options
author | Aurimas Fišeras <aurimas@members.fsf.org> | 2014-08-23 11:50:56 +0300 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-08-24 06:30:11 -0500 |
commit | 21c8b5815a21b6586fe13b12d00a9fb432c2aef4 (patch) | |
tree | 34dfba10eba36f1fb59331292fcdd7e3f7795eda | |
parent | 0b3e1d9b222bf045b03746f1c162bf8077a24a1b (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>
-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 e695d57345e7..ac6d71e905a5 100644 --- a/sc/source/core/tool/interpr2.cxx +++ b/sc/source/core/tool/interpr2.cxx @@ -2795,7 +2795,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 } }; static const size_t nConversionCount = sizeof( aConvertTable ) / sizeof( aConvertTable[0] ); |