diff options
Diffstat (limited to 'sal/rtl/uuid.cxx')
-rw-r--r-- | sal/rtl/uuid.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/rtl/uuid.cxx b/sal/rtl/uuid.cxx index 8eb0566e9e2f..b3197d14a117 100644 --- a/sal/rtl/uuid.cxx +++ b/sal/rtl/uuid.cxx @@ -94,10 +94,10 @@ extern "C" void SAL_CALL rtl_createUuid( sal_uInt8 *pTargetUUID , { { osl::MutexGuard g(osl::Mutex::getGlobalMutex()); - static rtlRandomPool pool = NULL; - if (pool == NULL) { + static rtlRandomPool pool = nullptr; + if (pool == nullptr) { pool = rtl_random_createPool(); - if (pool == NULL) { + if (pool == nullptr) { abort(); // only possible way to signal failure here (rtl_createUuid // being part of a fixed C API) |