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:17:37 +0100
commit852cc9597cbe0c0529f9d3187ac935a05f7ed885 (patch)
tree95b94fec8f31d1e9c441131d92c894d579e2a64c
parent465954396edf9c34d4f53b4b4afe9f3817f257e3 (diff)
added Estonian "EEK" to EUROCONVERT(), fdo#73239
Change-Id: Ib4c82992e12758fcec6c667c57849935cd518972 (cherry picked from commit 127f863c727c07f1da40005fe638d97e89baaccf)
-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] );