vcl/StaticLibrary_fuzzerstubs.mk | 1 vcl/workben/localestub/localedata_en_NG.cxx | 142 ++++++++++++++++++++++++++++ 2 files changed, 143 insertions(+)
New commits: commit 6b8e736f572549008abf7ecd4fa567a262f97226 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Sat Aug 31 12:23:49 2019 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sat Aug 31 14:24:17 2019 +0200 ofz#16753 build failure Change-Id: Id7ec5cff7d5784135a3266d1b3d0c27e21dbb04b Reviewed-on: https://gerrit.libreoffice.org/78341 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/StaticLibrary_fuzzerstubs.mk b/vcl/StaticLibrary_fuzzerstubs.mk index aef8a9059386..7d8105906870 100644 --- a/vcl/StaticLibrary_fuzzerstubs.mk +++ b/vcl/StaticLibrary_fuzzerstubs.mk @@ -34,6 +34,7 @@ $(eval $(call gb_StaticLibrary_add_exception_objects,fuzzerstubs,\ vcl/workben/localestub/localedata_en_MW \ vcl/workben/localestub/localedata_en_MY \ vcl/workben/localestub/localedata_en_NA \ + vcl/workben/localestub/localedata_en_NG \ vcl/workben/localestub/localedata_en_NZ \ vcl/workben/localestub/localedata_en_PH \ vcl/workben/localestub/localedata_en_TT \ diff --git a/vcl/workben/localestub/localedata_en_NG.cxx b/vcl/workben/localestub/localedata_en_NG.cxx new file mode 100644 index 000000000000..5d35145161af --- /dev/null +++ b/vcl/workben/localestub/localedata_en_NG.cxx @@ -0,0 +1,142 @@ +#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[] = { 0x4e, 0x47, 0x0 }; +static const sal_Unicode countryDefaultName[] = { 0x4e, 0x69, 0x67, 0x65, 0x72, 0x69, 0x61, 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_NG(sal_Int16& count) +{ + count = SAL_N_ELEMENTS(LCInfoArray); + return (sal_Unicode**)LCInfoArray; +} +extern sal_Unicode** SAL_CALL getLocaleItem_en_GB(sal_Int16& count); +SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getLocaleItem_en_NG(sal_Int16& count) +{ + return getLocaleItem_en_GB(count); +} +static const sal_Unicode replaceTo0[] + = { 0x5b, 0x24, 0x20a6, 0x2d, 0x41, 0x38, 0x30, 0x39, 0x5d, 0x0 }; +extern sal_Unicode const* const* SAL_CALL getAllFormats0_en_GB(sal_Int16& count, + const sal_Unicode*& from, + const sal_Unicode*& to); +SAL_DLLPUBLIC_EXPORT sal_Unicode const* const* SAL_CALL +getAllFormats0_en_NG(sal_Int16& count, const sal_Unicode*& from, const sal_Unicode*& to) +{ + to = replaceTo0; + const sal_Unicode* tmp; + return getAllFormats0_en_GB(count, from, tmp); +} +extern sal_Unicode** SAL_CALL getDateAcceptancePatterns_en_GB(sal_Int16& count); +SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getDateAcceptancePatterns_en_NG(sal_Int16& count) +{ + return getDateAcceptancePatterns_en_GB(count); +} +extern sal_Unicode** SAL_CALL getCollatorImplementation_en_GB(sal_Int16& count); +SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getCollatorImplementation_en_NG(sal_Int16& count) +{ + return getCollatorImplementation_en_GB(count); +} +extern sal_Unicode** SAL_CALL getCollationOptions_en_GB(sal_Int16& count); +SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getCollationOptions_en_NG(sal_Int16& count) +{ + return getCollationOptions_en_GB(count); +} +extern sal_Unicode** SAL_CALL getSearchOptions_en_GB(sal_Int16& count); +SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getSearchOptions_en_NG(sal_Int16& count) +{ + return getSearchOptions_en_GB(count); +} +extern sal_Unicode** SAL_CALL getIndexAlgorithm_en_GB(sal_Int16& count); +SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getIndexAlgorithm_en_NG(sal_Int16& count) +{ + return getIndexAlgorithm_en_GB(count); +} +extern sal_Unicode** SAL_CALL getUnicodeScripts_en_GB(sal_Int16& count); +SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getUnicodeScripts_en_NG(sal_Int16& count) +{ + return getUnicodeScripts_en_GB(count); +} +extern sal_Unicode** SAL_CALL getFollowPageWords_en_GB(sal_Int16& count); +SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getFollowPageWords_en_NG(sal_Int16& count) +{ + return getFollowPageWords_en_GB(count); +} +extern sal_Unicode** SAL_CALL getAllCalendars_en_GB(sal_Int16& count); +SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getAllCalendars_en_NG(sal_Int16& count) +{ + return getAllCalendars_en_GB(count); +} +static const sal_Unicode defaultCurrency0[] = { 1 }; +static const sal_Unicode defaultCurrencyUsedInCompatibleFormatCodes0[] = { 1 }; +static const sal_Unicode defaultCurrencyLegacyOnly0[] = { 0 }; +static const sal_Unicode currencyID0[] = { 0x4e, 0x47, 0x4e, 0x0 }; +static const sal_Unicode currencySymbol0[] = { 0x20a6, 0x0 }; +static const sal_Unicode bankSymbol0[] = { 0x4e, 0x47, 0x4e, 0x0 }; +static const sal_Unicode currencyName0[] = { 0x4e, 0x61, 0x69, 0x72, 0x61, 0x0 }; +static const sal_Unicode currencyDecimalPlaces0[] = { 2 }; + +static const sal_Int16 currencyCount = 1; + +static const sal_Unicode* currencies[] = { + currencyID0, + currencySymbol0, + bankSymbol0, + currencyName0, + defaultCurrency0, + defaultCurrencyUsedInCompatibleFormatCodes0, + currencyDecimalPlaces0, + defaultCurrencyLegacyOnly0, +}; + +SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getAllCurrencies_en_NG(sal_Int16& count) +{ + count = currencyCount; + return (sal_Unicode**)currencies; +} +extern sal_Unicode** SAL_CALL getTransliterations_en_GB(sal_Int16& count); +SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getTransliterations_en_NG(sal_Int16& count) +{ + return getTransliterations_en_GB(count); +} +extern sal_Unicode** SAL_CALL getForbiddenCharacters_en_GB(sal_Int16& count); +SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getForbiddenCharacters_en_NG(sal_Int16& count) +{ + return getForbiddenCharacters_en_GB(count); +} +extern sal_Unicode** SAL_CALL getBreakIteratorRules_en_GB(sal_Int16& count); +SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getBreakIteratorRules_en_NG(sal_Int16& count) +{ + return getBreakIteratorRules_en_GB(count); +} +extern sal_Unicode** SAL_CALL getReservedWords_en_GB(sal_Int16& count); +SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getReservedWords_en_NG(sal_Int16& count) +{ + return getReservedWords_en_GB(count); +} +// ---> ContinuousNumbering +extern const sal_Unicode*** SAL_CALL getContinuousNumberingLevels_en_GB(sal_Int16& nStyles, + sal_Int16& nAttributes); +SAL_DLLPUBLIC_EXPORT const sal_Unicode*** SAL_CALL +getContinuousNumberingLevels_en_NG(sal_Int16& nStyles, sal_Int16& nAttributes) +{ + return getContinuousNumberingLevels_en_GB(nStyles, nAttributes); +} +// ---> OutlineNumbering +extern const sal_Unicode**** SAL_CALL getOutlineNumberingLevels_en_GB(sal_Int16& nStyles, + sal_Int16& nLevels, + sal_Int16& nAttributes); +SAL_DLLPUBLIC_EXPORT const sal_Unicode**** SAL_CALL +getOutlineNumberingLevels_en_NG(sal_Int16& nStyles, sal_Int16& nLevels, sal_Int16& nAttributes) +{ + return getOutlineNumberingLevels_en_GB(nStyles, nLevels, nAttributes); +} +} // extern "C" _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits