From ba233e87efddf0a6751b35784dca1c805364ff3b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 11 Feb 2015 13:20:49 +0200 Subject: remove unnecessary parenthesis in return statements found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e --- bean/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c | 4 ++-- bean/native/win32/com_sun_star_comp_beans_LocalOfficeWindow.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (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 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; } 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 b4c41623c454..42f7714c2dca 100644 --- a/bean/native/win32/com_sun_star_comp_beans_LocalOfficeWindow.c +++ b/bean/native/win32/com_sun_star_comp_beans_LocalOfficeWindow.c @@ -90,7 +90,7 @@ JNIEXPORT jint JNICALL Java_com_sun_star_comp_beans_LocalOfficeWindow_getNativeW { (void) env; // unused (void) obj_this; // unused - return (SYSTEM_WIN32); + return SYSTEM_WIN32; } @@ -156,7 +156,7 @@ JNIEXPORT jlong JNICALL Java_com_sun_star_comp_beans_LocalOfficeWindow_getNative SetProp( hWnd, OLD_PROC_KEY, (HANDLE)hFuncPtr ); } - return ((jlong)hWnd); + return (jlong)hWnd; } -- cgit