summaryrefslogtreecommitdiff
path: root/sal/rtl/random.cxx
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 /sal/rtl/random.cxx
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 'sal/rtl/random.cxx')
-rw-r--r--sal/rtl/random.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/rtl/random.cxx b/sal/rtl/random.cxx
index 851dbffb1dda..912074eb789f 100644
--- a/sal/rtl/random.cxx
+++ b/sal/rtl/random.cxx
@@ -102,7 +102,7 @@ static double __rtl_random_data (RandomData_Impl *pImpl)
((double)(pImpl->m_nZ) / 30307.0) );
random -= ((double)((sal_uInt32)(random)));
- return (random);
+ return random;
}
/*
@@ -278,7 +278,7 @@ rtlRandomPool SAL_CALL rtl_random_createPool() SAL_THROW_EXTERN_C()
pImpl = (RandomPool_Impl*)NULL;
}
}
- return ((rtlRandomPool)pImpl);
+ return (rtlRandomPool)pImpl;
}
/*