diff options
author | umutbayramoglu <umut265@gmail.com> | 2020-12-07 20:37:42 +0000 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-01-05 08:36:28 +0100 |
commit | 9feea2ecc59c6daa42dece6c30cf33f5e7df7561 (patch) | |
tree | 35400e73889c456041b13e37454097283423c7ec /bean | |
parent | bf81aa59d86ef749dc37cdd49c6fc745376f857d (diff) |
tdf#96505 : Get rid of cargo cult long integer literals
Change-Id: I7b269fb5bafceba071ebe649a696ef61301c4018
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107366
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'bean')
-rw-r--r-- | bean/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c | 2 | ||||
-rw-r--r-- | bean/native/win32/com_sun_star_comp_beans_LocalOfficeWindow.c | 2 |
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); |