summaryrefslogtreecommitdiff
path: root/bean
diff options
context:
space:
mode:
Diffstat (limited to 'bean')
-rw-r--r--bean/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c2
-rw-r--r--bean/native/win32/com_sun_star_comp_beans_LocalOfficeWindow.c2
2 files changed, 2 insertions, 2 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 f908d8f63c90..9e534e2262d9 100644
--- a/bean/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c
+++ b/bean/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c
@@ -103,7 +103,7 @@ SAL_DLLPUBLIC_EXPORT jlong JNICALL Java_com_sun_star_comp_beans_LocalOfficeWindo
/* Get the drawing surface */
ds = awt.GetDrawingSurface(env, obj_this);
if (ds == NULL)
- return 0L;
+ return 0;
/* Lock the drawing surface */
lock = ds->Lock(ds);
diff --git a/bean/native/win32/com_sun_star_comp_beans_LocalOfficeWindow.c b/bean/native/win32/com_sun_star_comp_beans_LocalOfficeWindow.c
index 5d1bdb0f5cc8..7f29160250e6 100644
--- a/bean/native/win32/com_sun_star_comp_beans_LocalOfficeWindow.c
+++ b/bean/native/win32/com_sun_star_comp_beans_LocalOfficeWindow.c
@@ -97,7 +97,7 @@ JNIEXPORT jlong JNICALL Java_com_sun_star_comp_beans_LocalOfficeWindow_getNative
/* Get the drawing surface */
if ((ds = awt.GetDrawingSurface(env, obj_this)) == NULL)
- return 0L;
+ return 0;
/* Lock the drawing surface */
lock = ds->Lock(ds);