i18npool/source/localedata/data/bg_BG.xml              |    8 ++++++++
 officecfg/registry/data/org/openoffice/Office/Calc.xcu |   11 +++++++++++
 sc/source/core/tool/interpr2.cxx                       |    3 ++-
 3 files changed, 21 insertions(+), 1 deletion(-)

New commits:
commit 37d1cc071ba0cc7f9922c4409d0a014a722ebbce
Author:     Rene Engelhard <r...@rene-engelhard.de>
AuthorDate: Sat Aug 9 19:05:15 2025 +0200
Commit:     Eike Rathke <er...@redhat.com>
CommitDate: Wed Aug 13 14:20:53 2025 +0200

    add EUR for Bulgaria/Lew
    
    Bulgaria will join Eurozone 2026-01-01 at which time around the default
    needs to be switched
    
    see 
https://www.ecb.europa.eu/press/pr/date/2025/html/ecb.pr250708~b9676a9fa8.de.html
 for the conversion rate
    
    Change-Id: I840ddda4308549703c53f998812848888dd830f6
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189271
    Tested-by: Jenkins
    Reviewed-by: Eike Rathke <er...@redhat.com>

diff --git a/i18npool/source/localedata/data/bg_BG.xml 
b/i18npool/source/localedata/data/bg_BG.xml
index 55c63049089f..ae295a38c7b9 100644
--- a/i18npool/source/localedata/data/bg_BG.xml
+++ b/i18npool/source/localedata/data/bg_BG.xml
@@ -366,6 +366,14 @@
       <CurrencyName>BGL</CurrencyName>
       <DecimalPlaces>2</DecimalPlaces>
     </Currency>
+    <!-- TODO: switch defaults before 2026-01-01 -->
+    <Currency default="false" usedInCompatibleFormatCodes="false">
+      <CurrencyID>EUR</CurrencyID>
+      <CurrencySymbol>€</CurrencySymbol>
+      <BankSymbol>EUR</BankSymbol>
+      <CurrencyName>евро</CurrencyName>
+      <DecimalPlaces>2</DecimalPlaces>
+    </Currency>
   </LC_CURRENCY>
   <LC_TRANSLITERATION ref="en_US"/>
   <LC_MISC>
diff --git a/officecfg/registry/data/org/openoffice/Office/Calc.xcu 
b/officecfg/registry/data/org/openoffice/Office/Calc.xcu
index eda60fe6c434..2b1e0e2bf5a3 100644
--- a/officecfg/registry/data/org/openoffice/Office/Calc.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/Calc.xcu
@@ -239,6 +239,17 @@
         <value>7.53450</value>
       </prop>
     </node>
+    <node oor:name="CR21" oor:op="replace">
+      <prop oor:name="FromUnit">
+        <value>EUR</value>
+      </prop>
+      <prop oor:name="ToUnit">
+        <value>BLN</value>
+      </prop>
+      <prop oor:name="Factor">
+        <value>1.95583</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 a2edd03c9188..c71bbc39d88d 100644
--- a/sc/source/core/tool/interpr2.cxx
+++ b/sc/source/core/tool/interpr2.cxx
@@ -3299,7 +3299,8 @@ static bool lclConvertMoney( std::u16string_view 
aSearchUnit, double& rfRate, in
         { "EEK", 15.6466,  2 },
         { "LVL", 0.702804, 2 },
         { "LTL", 3.45280,  2 },
-        { "HRK", 7.53450,  2 }
+        { "HRK", 7.53450,  2 },
+        { "BLN", 1.95583,  2 }
     };
 
     for (const auto & i : aConvertTable)

Reply via email to