summaryrefslogtreecommitdiff
path: root/bean/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-02-11 13:20:49 +0200
committerNoel Grandin <noel@peralex.com>2015-02-23 09:26:58 +0200
commitba233e87efddf0a6751b35784dca1c805364ff3b (patch)
tree9d7c8a4256e688c2d47cb6ecf580ac196c4da2c0 /bean/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c
parenta2fa9e2468aa5c4fd4b610c5d0ebc8959e87a072 (diff)
remove unnecessary parenthesis in return statements
found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
Diffstat (limited to 'bean/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c')
-rw-r--r--bean/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c4
1 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 0bd0e04e2ce5..275e6486e6e4 100644
--- a/bean/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c
+++ b/bean/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c
@@ -61,7 +61,7 @@ SAL_DLLPUBLIC_EXPORT jint JNICALL Java_com_sun_star_comp_beans_LocalOfficeWindow
{
(void) env; /* avoid warning about unused parameter */
(void) obj_this; /* avoid warning about unused parameter */
- return (SYSTEM_XWINDOW);
+ return SYSTEM_XWINDOW;
}
@@ -115,7 +115,7 @@ SAL_DLLPUBLIC_EXPORT jlong JNICALL Java_com_sun_star_comp_beans_LocalOfficeWindo
/* Free the drawing surface */
awt.FreeDrawingSurface(ds);
- return ((jlong)drawable);
+ return (jlong)drawable;
}