i18npool/source/localedata/LocaleNode.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 5a92f17d293d2b0b1beee5d16d0b2b1ee7fc6ce3
Author:     Eike Rathke <er...@redhat.com>
AuthorDate: Tue Oct 19 21:46:29 2021 +0200
Commit:     Eike Rathke <er...@redhat.com>
CommitDate: Tue Oct 19 23:00:47 2021 +0200

    Related: tdf#145173 Handle two independent ref=... for LC_FORMAT...
    
    Change-Id: I6313d9e573e653c9a97171ca8c2f6176d7ad6a3f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123843
    Reviewed-by: Eike Rathke <er...@redhat.com>
    Tested-by: Jenkins

diff --git a/i18npool/source/localedata/LocaleNode.cxx 
b/i18npool/source/localedata/LocaleNode.cxx
index e1443b1e1d0f..86fc96495bd4 100644
--- a/i18npool/source/localedata/LocaleNode.cxx
+++ b/i18npool/source/localedata/LocaleNode.cxx
@@ -562,12 +562,13 @@ void LCFormatNode::generateCode (const OFileWriter &of) 
const
         {
             case 0:
                 of.writeRefFunction("getAllFormats0_", useLocale, 
"replaceTo0");
+                of.writeRefFunction("getDateAcceptancePatterns_", useLocale);
                 break;
             case 1:
                 of.writeRefFunction("getAllFormats1_", useLocale, 
"replaceTo1");
                 break;
         }
-        of.writeRefFunction("getDateAcceptancePatterns_", useLocale);
+        ++mnSection;
         return;
     }
 

Reply via email to