From 79a359fea1885151a77f83e05eee8d2aa97895ab Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 8 May 2015 09:22:10 +0200 Subject: jboolean-related clean-up Change-Id: Iecd03d0343b9b7c3a8b23b5a1e9654148b94d44c --- bean/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bean') 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 */ -- cgit