Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On Fri, 2011-09-02 at 17:51 +0200, Matúš Kukan wrote:
Maybe this could be pushed? or something similar ?

I think you're out of luck with an ifdef U_JG_FARSI_YEH because its an
enum, how about (typed directly, fix syntax, whatever)

#if (( U_ICU_VERSION_MAJOR_NUM < 4 ) || (( U_ICU_VERSION_MAJOR_NUM == 4)
&& ( U_ICU_VERSION_MINOR_NUM < 4 )))
sal_Bool isYehChar ( xub_Unicode cCh )
{
   return ( cCh == 0x626 || cCh == 0x649 || cCh == 0x64A || cCh == 0x678
|| cCh == 0x6CC ||
       cCh == 0x6CE || cCh == 0x6D0 || cCh == 0x6D1 );
}
#else
#define isYehChar(c) (IS_JOINING_GROUP((c), YEH) ||
IS_JOINING_GROUP((c), FARSI_YEH))
#endif

C.


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.