summaryrefslogtreecommitdiff
path: root/sal/rtl/random.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-14 22:45:44 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-17 17:55:16 +0100
commitd84cf2de01f17f2617846135081a819ce74dd87a (patch)
tree192bc83388393b8daefe0dd8b1610c50f111a7bd /sal/rtl/random.cxx
parent6f69fb5d7d7f66d17b56eca5a5b3f494c597b97a (diff)
sal: sal_Bool -> bool
Change-Id: I071a931660dafc1ee5950da527b042fb175255b8
Diffstat (limited to 'sal/rtl/random.cxx')
-rw-r--r--sal/rtl/random.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sal/rtl/random.cxx b/sal/rtl/random.cxx
index 447ded5a23c6..53cce865e822 100644
--- a/sal/rtl/random.cxx
+++ b/sal/rtl/random.cxx
@@ -76,7 +76,7 @@ struct RandomPool_Impl
/** __rtl_random_initPool.
*/
-static sal_Bool __rtl_random_initPool (
+static bool __rtl_random_initPool (
RandomPool_Impl *pImpl);
/** __rtl_random_seedPool.
@@ -108,7 +108,7 @@ static double __rtl_random_data (RandomData_Impl *pImpl)
/*
* __rtl_random_initPool.
*/
-static sal_Bool __rtl_random_initPool (RandomPool_Impl *pImpl)
+static bool __rtl_random_initPool (RandomPool_Impl *pImpl)
{
pImpl->m_hDigest = rtl_digest_create (RTL_RANDOM_DIGEST);
if (pImpl->m_hDigest)
@@ -148,9 +148,9 @@ static sal_Bool __rtl_random_initPool (RandomPool_Impl *pImpl)
seed = __rtl_random_data (&rd);
__rtl_random_seedPool (pImpl, (sal_uInt8*)&seed, sizeof(seed));
}
- return sal_True;
+ return true;
}
- return sal_False;
+ return false;
}
/*