diff options
author | Oliver Bolte <obo@openoffice.org> | 2005-05-02 12:21:09 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2005-05-02 12:21:09 +0000 |
commit | 5b83c24a9429aa5b1cfef00d75f754c863d658e9 (patch) | |
tree | 118ecb4e85b4aad94b7a91c403f03d8c5b3f0fa6 /sal/qa | |
parent | d1ebe20b94218eb6727e031977cbc8b9d4aa5336 (diff) |
INTEGRATION: CWS hrobeta2 (1.2.108); FILE MERGED
2005/02/03 11:17:51 sb 1.2.108.1: #i41904# Ensure thread safe construction of function-local statics (patch supplied by cmc).
Diffstat (limited to 'sal/qa')
-rw-r--r-- | sal/qa/rtl/uuid/rtl_Uuid.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sal/qa/rtl/uuid/rtl_Uuid.cxx b/sal/qa/rtl/uuid/rtl_Uuid.cxx index d33e9cc5cee9..1f00f547be27 100644 --- a/sal/qa/rtl/uuid/rtl_Uuid.cxx +++ b/sal/qa/rtl/uuid/rtl_Uuid.cxx @@ -67,12 +67,11 @@ public: #define TEST_UUID 20 void createUuid_001() { - sal_uInt8 pNode[16]; sal_uInt8 aNode[TEST_UUID][16]; sal_Int32 i,i2; for( i = 0 ; i < TEST_UUID ; i ++ ) { - rtl_createUuid( aNode[i], pNode, sal_False ); + rtl_createUuid( aNode[i], i == 0 ? 0 : aNode[i - 1], sal_False ); } sal_Bool bRes = sal_True; for( i = 0 ; i < TEST_UUID ; i ++ ) |