diff options
author | Oliver Bolte <obo@openoffice.org> | 2007-03-14 07:29:31 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2007-03-14 07:29:31 +0000 |
commit | d7006cac4b156f48b4dc1301bff3a23d779cb237 (patch) | |
tree | a5129831cae5e5d6be88b9de4457c453eaa5f268 /sal/rtl/source/uuid.cxx | |
parent | 4e6a43f92795e6f8dd61b1f3451e5555329745c7 (diff) |
INTEGRATION: CWS sb69 (1.11.2); FILE MERGED
2007/01/24 10:56:25 sb 1.11.2.1: #i73782# Improved documentation.
Diffstat (limited to 'sal/rtl/source/uuid.cxx')
-rw-r--r-- | sal/rtl/source/uuid.cxx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sal/rtl/source/uuid.cxx b/sal/rtl/source/uuid.cxx index f3068670b778..4c65c4a3bd81 100644 --- a/sal/rtl/source/uuid.cxx +++ b/sal/rtl/source/uuid.cxx @@ -4,9 +4,9 @@ * * $RCSfile: uuid.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: vg $ $Date: 2007-01-15 16:32:30 $ + * last change: $Author: obo $ $Date: 2007-03-14 08:29:31 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -117,11 +117,15 @@ extern "C" void SAL_CALL rtl_createUuid( sal_uInt8 *pTargetUUID , if (pool == NULL) { pool = rtl_random_createPool(); if (pool == NULL) { - abort(); //TODO + abort(); + // only possible way to signal failure here (rtl_createUuid + // being part of a fixed C API) } } if (rtl_random_getBytes(pool, pTargetUUID, 16) != rtl_Random_E_None) { - abort(); //TODO + abort(); + // only possible way to signal failure here (rtl_createUuid + // being part of a fixed C API) } } // See ITU-T Recommendation X.667: |