[Libreoffice] [PATCH] some cleanup of Kashida justification code
Caolán McNamara
caolanm at redhat.com
Fri Sep 2 09:06:04 PDT 2011
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.
More information about the LibreOffice
mailing list