diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-08 09:22:10 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-08 09:49:01 +0200 |
commit | 79a359fea1885151a77f83e05eee8d2aa97895ab (patch) | |
tree | 0f17ddb1a91c5ffd68c9dfb036b37e3993e5ecc6 /bean | |
parent | 1cb0b37ad09400138d7c4a5874c02f921e742d37 (diff) |
jboolean-related clean-up
Change-Id: Iecd03d0343b9b7c3a8b23b5a1e9654148b94d44c
Diffstat (limited to 'bean')
-rw-r--r-- | bean/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bean/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c b/bean/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c index 275e6486e6e4..771839f3c571 100644 --- a/bean/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c +++ b/bean/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c @@ -87,7 +87,7 @@ SAL_DLLPUBLIC_EXPORT jlong JNICALL Java_com_sun_star_comp_beans_LocalOfficeWindo /* Get the AWT */ awt.version = JAWT_VERSION_1_3; result = JAWT_GetAWT(env, &awt); - if (result == JNI_FALSE) + if (!result) ThrowException(env, "java/lang/RuntimeException", "JAWT_GetAWT failed"); /* Get the drawing surface */ |