summaryrefslogtreecommitdiff
path: root/rsc/source/prj
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 /rsc/source/prj
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 'rsc/source/prj')
-rw-r--r--rsc/source/prj/gui.cxx4
-rw-r--r--rsc/source/prj/start.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/rsc/source/prj/gui.cxx b/rsc/source/prj/gui.cxx
index f0801a8dffea..89d5d6e9e89c 100644
--- a/rsc/source/prj/gui.cxx
+++ b/rsc/source/prj/gui.cxx
@@ -71,9 +71,9 @@ int rsc2_main( int argc, char **argv )
delete pHS; // wird durch InitRscCompiler erzeugt
if( aError.IsOk() )
- return( 0 );
+ return 0;
else
- return( 1 );
+ return 1;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/rsc/source/prj/start.cxx b/rsc/source/prj/start.cxx
index fd2de9478a2b..af2da38984ab 100644
--- a/rsc/source/prj/start.cxx
+++ b/rsc/source/prj/start.cxx
@@ -235,7 +235,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
if( pStr )
{
printf( "Cannot open response file <%s>\n", pStr );
- return( 1 );
+ return 1;
};
ppStr = (char **)aCmdLine.GetBlock();