summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2014-01-02 21:53:36 +0100
committerEike Rathke <erack@redhat.com>2014-01-02 22:15:11 +0100
commit127f863c727c07f1da40005fe638d97e89baaccf (patch)
tree9219bde8eecce6017af374555105d7fe198c2805
parent0fb94d6d41a1429d2c81a96a24fdc348060205e2 (diff)
added Estonian "EEK" to EUROCONVERT(), fdo#73239
Change-Id: Ib4c82992e12758fcec6c667c57849935cd518972
-rw-r--r--sc/source/core/tool/interpr2.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/sc/source/core/tool/interpr2.cxx b/sc/source/core/tool/interpr2.cxx
index ab9183a1e400..cdc2120244a0 100644
--- a/sc/source/core/tool/interpr2.cxx
+++ b/sc/source/core/tool/interpr2.cxx
@@ -2532,7 +2532,11 @@ void ScInterpreter::ScHyperLink()
}
}
-bool lclConvertMoney( const OUString& aSearchUnit, double& rfRate, int& rnDec )
+/** Resources at the website of the European Commission:
+ http://ec.europa.eu/economy_finance/euro/adoption/conversion/
+ http://ec.europa.eu/economy_finance/euro/countries/
+ */
+static bool lclConvertMoney( const OUString& aSearchUnit, double& rfRate, int& rnDec )
{
struct ConvertInfo
{
@@ -2557,7 +2561,8 @@ bool lclConvertMoney( const OUString& aSearchUnit, double& rfRate, int& rnDec )
{ "SIT", 239.640, 2 },
{ "MTL", 0.429300, 2 },
{ "CYP", 0.585274, 2 },
- { "SKK", 30.1260, 2 }
+ { "SKK", 30.1260, 2 },
+ { "EEK", 15.6466, 2 }
};
const size_t nConversionCount = sizeof( aConvertTable ) / sizeof( aConvertTable[0] );