commit eb9b9b0fba1097c9c691992a9c12903de61add1c
parent f1da0f69c792cca6e7c023847f3d192b9b1cd057
Author: Tomas Hlavaty <tom@logand.com>
Date: Wed, 18 Jan 2012 09:52:31 +0100
typeinfo fix
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/unoidl2java.c b/unoidl2java.c
@@ -307,10 +307,8 @@ static Any pr_TypeInfo1_nonattribute(void *env, Any x) {
return NIL;
}
-static Any pr_TypeInfo_p(Any a) {return kindeq(INTERFACE, a);}
-
static void pr_TypeInfo(Any body) {
- if(NIL != some(pr_TypeInfo_p, body)) {
+ if(NIL != body) {
pr(" public static final com.sun.star.lib.uno.typeinfo.TypeInfo UNOTYPEINFO[] = {");
int i = -1;
k = -1;