diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2004-03-30 15:31:11 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2004-03-30 15:31:11 +0000 |
commit | 961de1628a6b5e2b7642a8c6988914b21aaa733c (patch) | |
tree | 067b9e9c8db4fdbf9f6602aa9aedb57b265a3980 /sal/qa/rtl_strings/rtl_OUString.cxx | |
parent | 9b29e33e8a5f4d041ded54c6178de93d89f126fb (diff) |
INTEGRATION: CWS sb14 (1.5.36); FILE MERGED
2004/03/11 14:41:35 sb 1.5.36.1: #i21150# rtl_string2UString and OUString::OUString(sal_Char const *, sal_Int32, rtl_TextEncoding, sal_uInt32) handle out-of-memory conditions.
Diffstat (limited to 'sal/qa/rtl_strings/rtl_OUString.cxx')
-rw-r--r-- | sal/qa/rtl_strings/rtl_OUString.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sal/qa/rtl_strings/rtl_OUString.cxx b/sal/qa/rtl_strings/rtl_OUString.cxx index 5e527593a..fbcf145b5 100644 --- a/sal/qa/rtl_strings/rtl_OUString.cxx +++ b/sal/qa/rtl_strings/rtl_OUString.cxx @@ -2,9 +2,9 @@ * * $RCSfile: rtl_OUString.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: obo $ $Date: 2004-03-19 14:57:22 $ + * last change: $Author: rt $ $Date: 2004-03-30 16:31:00 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -917,6 +917,7 @@ extern "C" void /* sal_Bool */ SAL_CALL test_rtl_OUString_csuc( rtl_string2UString( &tmpUstring, tmpStr, tmpLen, osl_getThreadTextEncoding(), OSTRING_TO_OUSTRING_CVTFLAGS ); + OSL_ASSERT(tmpUstring != NULL); typedef struct TestCase @@ -973,6 +974,7 @@ extern "C" void /* sal_Bool */ SAL_CALL test_rtl_OUString_getStr( rtl_string2UString( &tmpUstring, tmpStr, tmpLen, osl_getThreadTextEncoding(), OSTRING_TO_OUSTRING_CVTFLAGS ); + OSL_ASSERT(tmpUstring != NULL); typedef struct TestCase |