vcl/StaticLibrary_fuzzerstubs.mk            |    1 
 vcl/workben/localestub/localedata_en_IL.cxx |  131 ++++++++++++++++++++++++++++
 2 files changed, 132 insertions(+)

New commits:
commit 4b1572b94e5d5b106eddabeb238f5239063e25a0
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Thu Oct 21 08:42:17 2021 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Thu Oct 21 10:03:46 2021 +0200

    ofz#40166 fix build failure
    
    Change-Id: I18d7993e508763edeb428b583783584afc295efb
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123953
    Tested-by: Caolán McNamara <caol...@redhat.com>
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/vcl/StaticLibrary_fuzzerstubs.mk b/vcl/StaticLibrary_fuzzerstubs.mk
index e79e1932be80..ad1a206d8533 100644
--- a/vcl/StaticLibrary_fuzzerstubs.mk
+++ b/vcl/StaticLibrary_fuzzerstubs.mk
@@ -30,6 +30,7 @@ $(eval $(call 
gb_StaticLibrary_add_exception_objects,fuzzerstubs,\
     vcl/workben/localestub/localedata_en_GM \
     vcl/workben/localestub/localedata_en_HK \
     vcl/workben/localestub/localedata_en_IE \
+    vcl/workben/localestub/localedata_en_IL \
     vcl/workben/localestub/localedata_en_IN \
     vcl/workben/localestub/localedata_en_KE \
     vcl/workben/localestub/localedata_en_JM \
diff --git a/vcl/workben/localestub/localedata_en_IL.cxx 
b/vcl/workben/localestub/localedata_en_IL.cxx
new file mode 100644
index 000000000000..bea5731a7454
--- /dev/null
+++ b/vcl/workben/localestub/localedata_en_IL.cxx
@@ -0,0 +1,131 @@
+#include <sal/types.h>
+
+#include <stdio.h>
+
+extern "C" {
+
+static const sal_Unicode langID[] = { 0x65, 0x6e, 0x0 };
+static const sal_Unicode langDefaultName[] = { 0x45, 0x6e, 0x67, 0x6c, 0x69, 
0x73, 0x68, 0x0 };
+static const sal_Unicode countryID[] = { 0x49, 0x4c, 0x0 };
+static const sal_Unicode countryDefaultName[] = { 0x49, 0x73, 0x72, 0x61, 
0x65, 0x6c, 0x0 };
+static const sal_Unicode Variant[] = { 0x0 };
+
+static const sal_Unicode* LCInfoArray[]
+    = { langID, langDefaultName, countryID, countryDefaultName, Variant };
+
+SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getLCInfo_en_IL(sal_Int16& count)
+{
+    count = SAL_N_ELEMENTS(LCInfoArray);
+    return (sal_Unicode**)LCInfoArray;
+}
+extern sal_Unicode** SAL_CALL getLocaleItem_he_IL(sal_Int16& count);
+SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getLocaleItem_en_IL(sal_Int16& 
count)
+{
+    return getLocaleItem_he_IL(count);
+}
+static const sal_Unicode replaceTo0[]
+    = { 0x5b, 0x24, 0x200e, 0x20aa, 0x2d, 0x42, 0x34, 0x30, 0x39, 0x5d, 0x0 };
+extern sal_Unicode const* const* SAL_CALL getAllFormats0_he_IL(sal_Int16& 
count,
+                                                               const 
sal_Unicode*& from,
+                                                               const 
sal_Unicode*& to);
+SAL_DLLPUBLIC_EXPORT sal_Unicode const* const* SAL_CALL
+getAllFormats0_en_IL(sal_Int16& count, const sal_Unicode*& from, const 
sal_Unicode*& to)
+{
+    to = replaceTo0;
+    const sal_Unicode* tmp;
+    return getAllFormats0_he_IL(count, from, tmp);
+}
+extern sal_Unicode** SAL_CALL getDateAcceptancePatterns_he_IL(sal_Int16& 
count);
+SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL 
getDateAcceptancePatterns_en_IL(sal_Int16& count)
+{
+    return getDateAcceptancePatterns_he_IL(count);
+}
+static const sal_Unicode replaceTo1[] = { 0x0 };
+extern sal_Unicode const* const* SAL_CALL getAllFormats1_en_US(sal_Int16& 
count,
+                                                               const 
sal_Unicode*& from,
+                                                               const 
sal_Unicode*& to);
+SAL_DLLPUBLIC_EXPORT sal_Unicode const* const* SAL_CALL
+getAllFormats1_en_IL(sal_Int16& count, const sal_Unicode*& from, const 
sal_Unicode*& to)
+{
+    to = replaceTo1;
+    const sal_Unicode* tmp;
+    return getAllFormats1_en_US(count, from, tmp);
+}
+extern sal_Unicode** SAL_CALL getCollatorImplementation_en_US(sal_Int16& 
count);
+SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL 
getCollatorImplementation_en_IL(sal_Int16& count)
+{
+    return getCollatorImplementation_en_US(count);
+}
+extern sal_Unicode** SAL_CALL getCollationOptions_en_US(sal_Int16& count);
+SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL 
getCollationOptions_en_IL(sal_Int16& count)
+{
+    return getCollationOptions_en_US(count);
+}
+extern sal_Unicode** SAL_CALL getSearchOptions_en_US(sal_Int16& count);
+SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getSearchOptions_en_IL(sal_Int16& 
count)
+{
+    return getSearchOptions_en_US(count);
+}
+extern sal_Unicode** SAL_CALL getIndexAlgorithm_en_US(sal_Int16& count);
+SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getIndexAlgorithm_en_IL(sal_Int16& 
count)
+{
+    return getIndexAlgorithm_en_US(count);
+}
+extern sal_Unicode** SAL_CALL getUnicodeScripts_en_US(sal_Int16& count);
+SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getUnicodeScripts_en_IL(sal_Int16& 
count)
+{
+    return getUnicodeScripts_en_US(count);
+}
+extern sal_Unicode** SAL_CALL getFollowPageWords_en_US(sal_Int16& count);
+SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL 
getFollowPageWords_en_IL(sal_Int16& count)
+{
+    return getFollowPageWords_en_US(count);
+}
+extern sal_Unicode** SAL_CALL getAllCalendars_en_US(sal_Int16& count);
+SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getAllCalendars_en_IL(sal_Int16& 
count)
+{
+    return getAllCalendars_en_US(count);
+}
+extern sal_Unicode** SAL_CALL getAllCurrencies_he_IL(sal_Int16& count);
+SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getAllCurrencies_en_IL(sal_Int16& 
count)
+{
+    return getAllCurrencies_he_IL(count);
+}
+extern sal_Unicode** SAL_CALL getTransliterations_en_US(sal_Int16& count);
+SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL 
getTransliterations_en_IL(sal_Int16& count)
+{
+    return getTransliterations_en_US(count);
+}
+extern sal_Unicode** SAL_CALL getForbiddenCharacters_en_US(sal_Int16& count);
+SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL 
getForbiddenCharacters_en_IL(sal_Int16& count)
+{
+    return getForbiddenCharacters_en_US(count);
+}
+extern sal_Unicode** SAL_CALL getBreakIteratorRules_en_US(sal_Int16& count);
+SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL 
getBreakIteratorRules_en_IL(sal_Int16& count)
+{
+    return getBreakIteratorRules_en_US(count);
+}
+extern sal_Unicode** SAL_CALL getReservedWords_en_US(sal_Int16& count);
+SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getReservedWords_en_IL(sal_Int16& 
count)
+{
+    return getReservedWords_en_US(count);
+}
+// ---> ContinuousNumbering
+extern const sal_Unicode*** SAL_CALL 
getContinuousNumberingLevels_en_US(sal_Int16& nStyles,
+                                                                        
sal_Int16& nAttributes);
+SAL_DLLPUBLIC_EXPORT const sal_Unicode*** SAL_CALL
+getContinuousNumberingLevels_en_IL(sal_Int16& nStyles, sal_Int16& nAttributes)
+{
+    return getContinuousNumberingLevels_en_US(nStyles, nAttributes);
+}
+// ---> OutlineNumbering
+extern const sal_Unicode**** SAL_CALL 
getOutlineNumberingLevels_en_US(sal_Int16& nStyles,
+                                                                      
sal_Int16& nLevels,
+                                                                      
sal_Int16& nAttributes);
+SAL_DLLPUBLIC_EXPORT const sal_Unicode**** SAL_CALL
+getOutlineNumberingLevels_en_IL(sal_Int16& nStyles, sal_Int16& nLevels, 
sal_Int16& nAttributes)
+{
+    return getOutlineNumberingLevels_en_US(nStyles, nLevels, nAttributes);
+}
+} // extern "C"

Reply via email to