[Libreoffice] [PATCH] Add numbering type in persian word.

Tor Lillqvist tlillqvist at suse.com
Mon Aug 29 02:12:51 PDT 2011


>> +// Tables used for numbering in persian words
>> +static sal_Unicode *table_PersianWord_decade1[]={
>> +    (sal_Unicode[]){0}, // 0
>> +    (sal_Unicode[]){0x06cc, 0x06a9, 0}, // 1

Unfortunately that code wasn't accepted by MSVC. It doesn't seem to like array literals or whatever one should call them. I changed it a bit  and committed. Yay for C++ portability.

--tml




More information about the LibreOffice mailing list