summaryrefslogtreecommitdiff
path: root/sal/rtl/random.cxx
diff options
context:
space:
mode:
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;
}
/*