ICU-2765 removed usage of private headers

X-SVN-Rev: 11631
This commit is contained in:
Vladimir Weinstein 2003-04-23 05:55:54 +00:00
parent f9970354fe
commit 7a846aa9ae
2 changed files with 3 additions and 5 deletions

View File

@ -22,12 +22,11 @@
#if !UCONFIG_NO_BREAK_ITERATION
#include <malloc.h>
#include "unicode/uloc.h"
#include "unicode/ubrk.h"
#include "unicode/ustring.h"
#include "unicode/ucnv.h"
#include "ustr_imp.h"
#include "cmemory.h"
#include "cintltst.h"
#include "cbiapts.h"
@ -73,7 +72,7 @@ static UChar* toUChar(const char *src, void **freeHook) {
return NULL;
};
cnv = u_getDefaultConverter(&status);
cnv = ucnv_open(NULL, &status);
if(U_FAILURE(status) || cnv == NULL) {
return NULL;
}
@ -98,7 +97,7 @@ static UChar* toUChar(const char *src, void **freeHook) {
}
ucnv_reset(cnv); /* be good citizens */
u_releaseDefaultConverter(cnv);
ucnv_close(cnv);
if (dest == NULL) {
return NULL;
}

View File

@ -25,7 +25,6 @@
#include "cintltst.h"
#include "ccaltst.h"
#include "cformtst.h"
#include "cmemory.h"
void addCalTest(TestNode** root);