diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-01-17 16:01:58 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-01-17 16:02:29 +0000 |
commit | e43db9db2779562e6d27fd1413d6f4010dcdf064 (patch) | |
tree | 899071ddeef25b8d35568fe68262de6d98ed8c36 /vcl/workben | |
parent | 7ccb6779c5624f0ce723ed60f94a2ed936345b7a (diff) |
add en_MY stub
Change-Id: Idef19273a6c45719e8771147c0788228e366d771
Diffstat (limited to 'vcl/workben')
-rw-r--r-- | vcl/workben/localestub/localedata_en_MY.cxx | 118 |
1 files changed, 118 insertions, 0 deletions
diff --git a/vcl/workben/localestub/localedata_en_MY.cxx b/vcl/workben/localestub/localedata_en_MY.cxx new file mode 100644 index 000000000000..5fd7aa9b4674 --- /dev/null +++ b/vcl/workben/localestub/localedata_en_MY.cxx @@ -0,0 +1,118 @@ +#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[] = {0x4d, 0x59, 0x0}; +static const sal_Unicode countryDefaultName[] = {0x4d, 0x61, 0x6c, 0x61, 0x79, 0x73, 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_MY(sal_Int16& count) +{ + count = 0; + return (sal_Unicode**)LCInfoArray; +} +extern sal_Unicode ** SAL_CALL getLocaleItem_en_GB(sal_Int16& count); +SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getLocaleItem_en_MY(sal_Int16& count) +{ + return getLocaleItem_en_GB(count); +} +static const sal_Unicode replaceTo0[] = {0x5b, 0x24, 0x52, 0x4d, 0x2d, 0x34, 0x34, 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_MY(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_MY(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_MY(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_MY(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_MY(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_MY(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_MY(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_MY(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_MY(sal_Int16& count) +{ + return getAllCalendars_en_GB(count); +} +extern sal_Unicode ** SAL_CALL getAllCurrencies_ms_MY(sal_Int16& count); +SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getAllCurrencies_en_MY(sal_Int16& count) +{ + return getAllCurrencies_ms_MY(count); +} +extern sal_Unicode ** SAL_CALL getTransliterations_en_GB(sal_Int16& count); +SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getTransliterations_en_MY(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_MY(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_MY(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_MY(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_MY(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_MY(sal_Int16& nStyles, sal_Int16& nLevels, sal_Int16& nAttributes) +{ + return getOutlineNumberingLevels_en_GB(nStyles, nLevels, nAttributes); +} +} // extern "C" + |