unoidl2

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/unoidl2.git/
Log | Files | Refs

commit 16a9d8b07bd7eee4708980312f2b863f56618520
parent 7065bd3a1aef5da640f2c8829dfd042d88053d30
Author: Tomas Hlavaty <tom@logand.com>
Date:   Tue, 17 Jan 2012 00:27:06 +0100

minor refactoring

Diffstat:
Munoidl2java.c | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/unoidl2java.c b/unoidl2java.c @@ -334,8 +334,9 @@ static void pr_exception(Any x) { Any body = cddddr(x); pr_package(name); pr("public class "); pp(name); - int e = equal(name, Exception) && equal(module, uno_star_sun_com); - int r = equal(name, RuntimeException) && equal(module, uno_star_sun_com); + int m = equal(module, uno_star_sun_com); + int e = equal(name, Exception) && m; + int r = equal(name, RuntimeException) && m; if(e) pr(" extends java.lang.Exception"); else if(r)