LCOV - code coverage report
Current view: top level - workdir/unxlngi6.pro/CustomTarget/i18npool/localedata - localedata_sh_ME.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 6 39 15.4 %
Date: 2012-08-25 Functions: 2 18 11.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 1 2 50.0 %

           Branch data     Line data    Source code
       1                 :            : #include <sal/types.h>
       2                 :            : 
       3                 :            : 
       4                 :            : #include <stdio.h> // debug printfs
       5                 :            : 
       6                 :            : extern "C" {
       7                 :            : 
       8                 :            : static const sal_Unicode langID[] = {0x73, 0x68, 0x0};
       9                 :            : static const sal_Unicode langDefaultName[] = {0x53, 0x65, 0x72, 0x62, 0x69, 0x61, 0x6e, 0x20, 0x4c, 0x61, 0x74, 0x69, 0x6e, 0x0};
      10                 :            : static const sal_Unicode countryID[] = {0x4d, 0x45, 0x0};
      11                 :            : static const sal_Unicode countryDefaultName[] = {0x53, 0x65, 0x72, 0x62, 0x69, 0x61, 0x0};
      12                 :            : static const sal_Unicode Variant[] = {0x0};
      13                 :            : 
      14                 :            : static const sal_Unicode* LCInfoArray[] = {
      15                 :            :         langID,
      16                 :            :         langDefaultName,
      17                 :            :         countryID,
      18                 :            :         countryDefaultName,
      19                 :            :         Variant
      20                 :            : };
      21                 :            : 
      22                 :          0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getLCInfo_sh_ME(sal_Int16& count)
      23                 :            : {
      24                 :          0 :         count = 0;
      25                 :          0 :         return (sal_Unicode**)LCInfoArray;
      26                 :            : }
      27                 :            : extern sal_Unicode **  SAL_CALL getLocaleItem_sh_RS(sal_Int16& count);
      28                 :          0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getLocaleItem_sh_ME(sal_Int16& count)
      29                 :            : {
      30                 :          0 :         return getLocaleItem_sh_RS(count);
      31                 :            : }
      32                 :            : static const sal_Unicode replaceFrom0[] = {0x0};
      33                 :            : static const sal_Unicode replaceTo0[] = {0x5b, 0x24, 0x20ac, 0x2d, 0x43, 0x38, 0x31, 0x41, 0x5d, 0x0};
      34                 :            : extern sal_Unicode **  SAL_CALL getAllFormats0_sh_RS(sal_Int16& count, const sal_Unicode*& from, const sal_Unicode*& to);
      35                 :         36 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getAllFormats0_sh_ME(sal_Int16& count, const sal_Unicode*& from, const sal_Unicode*& to)
      36                 :            : {
      37                 :         36 :         to = replaceTo0;
      38                 :            :         const sal_Unicode* tmp;
      39         [ +  - ]:         36 :         return getAllFormats0_sh_RS(count, from, tmp);
      40                 :            : }
      41                 :            : extern sal_Unicode **  SAL_CALL getDateAcceptancePatterns_sh_RS(sal_Int16& count);
      42                 :          0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getDateAcceptancePatterns_sh_ME(sal_Int16& count)
      43                 :            : {
      44                 :          0 :         return getDateAcceptancePatterns_sh_RS(count);
      45                 :            : }
      46                 :            : extern sal_Unicode **  SAL_CALL getCollatorImplementation_sh_RS(sal_Int16& count);
      47                 :          0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getCollatorImplementation_sh_ME(sal_Int16& count)
      48                 :            : {
      49                 :          0 :         return getCollatorImplementation_sh_RS(count);
      50                 :            : }
      51                 :            : extern sal_Unicode **  SAL_CALL getCollationOptions_sh_RS(sal_Int16& count);
      52                 :          0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getCollationOptions_sh_ME(sal_Int16& count)
      53                 :            : {
      54                 :          0 :         return getCollationOptions_sh_RS(count);
      55                 :            : }
      56                 :            : extern sal_Unicode **  SAL_CALL getSearchOptions_sh_RS(sal_Int16& count);
      57                 :          0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getSearchOptions_sh_ME(sal_Int16& count)
      58                 :            : {
      59                 :          0 :         return getSearchOptions_sh_RS(count);
      60                 :            : }
      61                 :            : extern sal_Unicode **  SAL_CALL getIndexAlgorithm_sh_RS(sal_Int16& count);
      62                 :          0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getIndexAlgorithm_sh_ME(sal_Int16& count)
      63                 :            : {
      64                 :          0 :         return getIndexAlgorithm_sh_RS(count);
      65                 :            : }
      66                 :            : extern sal_Unicode **  SAL_CALL getUnicodeScripts_sh_RS(sal_Int16& count);
      67                 :          0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getUnicodeScripts_sh_ME(sal_Int16& count)
      68                 :            : {
      69                 :          0 :         return getUnicodeScripts_sh_RS(count);
      70                 :            : }
      71                 :            : extern sal_Unicode **  SAL_CALL getFollowPageWords_sh_RS(sal_Int16& count);
      72                 :          0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getFollowPageWords_sh_ME(sal_Int16& count)
      73                 :            : {
      74                 :          0 :         return getFollowPageWords_sh_RS(count);
      75                 :            : }
      76                 :            : extern sal_Unicode **  SAL_CALL getAllCalendars_sh_RS(sal_Int16& count);
      77                 :          0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getAllCalendars_sh_ME(sal_Int16& count)
      78                 :            : {
      79                 :          0 :         return getAllCalendars_sh_RS(count);
      80                 :            : }
      81                 :            : static const sal_Unicode defaultCurrency0[] = {1};
      82                 :            : static const sal_Unicode defaultCurrencyUsedInCompatibleFormatCodes0[] = {1};
      83                 :            : static const sal_Unicode defaultCurrencyLegacyOnly0[] = {0};
      84                 :            : static const sal_Unicode currencyID0[] = {0x45, 0x55, 0x52, 0x0};
      85                 :            : static const sal_Unicode currencySymbol0[] = {0x20ac, 0x0};
      86                 :            : static const sal_Unicode bankSymbol0[] = {0x45, 0x55, 0x52, 0x0};
      87                 :            : static const sal_Unicode currencyName0[] = {0x45, 0x75, 0x72, 0x6f, 0x0};
      88                 :            : static const sal_Unicode currencyDecimalPlaces0[] = {2};
      89                 :            : 
      90                 :            : static const sal_Unicode defaultCurrency1[] = {0};
      91                 :            : static const sal_Unicode defaultCurrencyUsedInCompatibleFormatCodes1[] = {0};
      92                 :            : static const sal_Unicode defaultCurrencyLegacyOnly1[] = {0};
      93                 :            : static const sal_Unicode currencyID1[] = {0x44, 0x45, 0x4d, 0x0};
      94                 :            : static const sal_Unicode currencySymbol1[] = {0x44, 0x4d, 0x0};
      95                 :            : static const sal_Unicode bankSymbol1[] = {0x44, 0x45, 0x4d, 0x0};
      96                 :            : static const sal_Unicode currencyName1[] = {0x44, 0x65, 0x75, 0x74, 0x73, 0x63, 0x68, 0x65, 0x20, 0x4d, 0x61, 0x72, 0x6b, 0x0};
      97                 :            : static const sal_Unicode currencyDecimalPlaces1[] = {2};
      98                 :            : 
      99                 :            : static const sal_Int16 currencyCount = 2;
     100                 :            : 
     101                 :            : static const sal_Unicode* currencies[] = {
     102                 :            :         currencyID0,
     103                 :            :         currencySymbol0,
     104                 :            :         bankSymbol0,
     105                 :            :         currencyName0,
     106                 :            :         defaultCurrency0,
     107                 :            :         defaultCurrencyUsedInCompatibleFormatCodes0,
     108                 :            :         currencyDecimalPlaces0,
     109                 :            :         defaultCurrencyLegacyOnly0,
     110                 :            :         currencyID1,
     111                 :            :         currencySymbol1,
     112                 :            :         bankSymbol1,
     113                 :            :         currencyName1,
     114                 :            :         defaultCurrency1,
     115                 :            :         defaultCurrencyUsedInCompatibleFormatCodes1,
     116                 :            :         currencyDecimalPlaces1,
     117                 :            :         defaultCurrencyLegacyOnly1,
     118                 :            : };
     119                 :            : 
     120                 :         72 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getAllCurrencies_sh_ME(sal_Int16& count)
     121                 :            : {
     122                 :         72 :         count = currencyCount;
     123                 :         72 :         return (sal_Unicode**)currencies;
     124                 :            : }
     125                 :            : extern sal_Unicode **  SAL_CALL getTransliterations_sh_RS(sal_Int16& count);
     126                 :          0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getTransliterations_sh_ME(sal_Int16& count)
     127                 :            : {
     128                 :          0 :         return getTransliterations_sh_RS(count);
     129                 :            : }
     130                 :            : extern sal_Unicode **  SAL_CALL getForbiddenCharacters_sh_RS(sal_Int16& count);
     131                 :          0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getForbiddenCharacters_sh_ME(sal_Int16& count)
     132                 :            : {
     133                 :          0 :         return getForbiddenCharacters_sh_RS(count);
     134                 :            : }
     135                 :            : extern sal_Unicode **  SAL_CALL getBreakIteratorRules_sh_RS(sal_Int16& count);
     136                 :          0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getBreakIteratorRules_sh_ME(sal_Int16& count)
     137                 :            : {
     138                 :          0 :         return getBreakIteratorRules_sh_RS(count);
     139                 :            : }
     140                 :            : extern sal_Unicode **  SAL_CALL getReservedWords_sh_RS(sal_Int16& count);
     141                 :          0 : SAL_DLLPUBLIC_EXPORT sal_Unicode **  SAL_CALL getReservedWords_sh_ME(sal_Int16& count)
     142                 :            : {
     143                 :          0 :         return getReservedWords_sh_RS(count);
     144                 :            : }
     145                 :            : // ---> ContinuousNumbering
     146                 :            : extern const sal_Unicode ***  SAL_CALL getContinuousNumberingLevels_sh_RS(sal_Int16& nStyles, sal_Int16& nAttributes);
     147                 :          0 : SAL_DLLPUBLIC_EXPORT const sal_Unicode ***  SAL_CALL getContinuousNumberingLevels_sh_ME(sal_Int16& nStyles, sal_Int16& nAttributes)
     148                 :            : {
     149                 :          0 :         return getContinuousNumberingLevels_sh_RS(nStyles, nAttributes);
     150                 :            : }
     151                 :            : // ---> OutlineNumbering
     152                 :            : extern const sal_Unicode ****  SAL_CALL getOutlineNumberingLevels_sh_RS(sal_Int16& nStyles, sal_Int16& nLevels, sal_Int16& nAttributes);
     153                 :          0 : SAL_DLLPUBLIC_EXPORT const sal_Unicode ****  SAL_CALL getOutlineNumberingLevels_sh_ME(sal_Int16& nStyles, sal_Int16& nLevels, sal_Int16& nAttributes)
     154                 :            : {
     155                 :          0 :         return getOutlineNumberingLevels_sh_RS(nStyles, nLevels, nAttributes);
     156                 :            : }
     157                 :            : } // extern "C"
     158                 :            : 

Generated by: LCOV version 1.10