mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-16 18:25:57 +00:00
ICU-4092 Remove dead code. See comments for details.
X-SVN-Rev: 16992
This commit is contained in:
parent
e05a965b8d
commit
aff473ea00
1 changed files with 5 additions and 2 deletions
|
@ -34,7 +34,7 @@ public:
|
|||
// @param str The unicode string to be converted to char *
|
||||
// @param codepage The char * code page. "" for invariant conversion.
|
||||
// NULL for default code page.
|
||||
inline CharString(const UnicodeString& str, const char *codepage);
|
||||
// inline CharString(const UnicodeString& str, const char *codepage);
|
||||
#endif
|
||||
|
||||
inline CharString(const UnicodeString& str);
|
||||
|
@ -51,6 +51,9 @@ private:
|
|||
|
||||
#if !UCONFIG_NO_CONVERSION
|
||||
|
||||
// PLEASE DON'T USE THIS FUNCTION.
|
||||
// We don't want the static dependency on conversion or the performance hit that comes from a codepage conversion.
|
||||
/*
|
||||
inline CharString::CharString(const UnicodeString& str, const char *codepage) {
|
||||
int32_t len;
|
||||
ptr = buf;
|
||||
|
@ -59,7 +62,7 @@ inline CharString::CharString(const UnicodeString& str, const char *codepage) {
|
|||
ptr = (char *)uprv_malloc(len+1);
|
||||
str.extract(0, 0x7FFFFFFF, ptr, len+1, codepage);
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue