From 596bee3007e32e04e7de868dadf6466920b80aae Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Thu, 16 Nov 2006 20:32:23 +0000 Subject: [PATCH] ICU-5410 Comment out unused code. X-SVN-Rev: 20673 --- icu4c/source/i18n/csdetect.cpp | 4 ++-- icu4c/source/i18n/csdetect.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/icu4c/source/i18n/csdetect.cpp b/icu4c/source/i18n/csdetect.cpp index d91536e04a9..f0d98dfad5c 100644 --- a/icu4c/source/i18n/csdetect.cpp +++ b/icu4c/source/i18n/csdetect.cpp @@ -301,7 +301,7 @@ const CharsetMatch * const *CharsetDetector::detectAll(int32_t &maxMatchesFound, return resultArray; } -const char *CharsetDetector::getCharsetName(int32_t index, UErrorCode &status) const +/*const char *CharsetDetector::getCharsetName(int32_t index, UErrorCode &status) const { if( index > fCSRecognizers_size-1 || index < 0) { status = U_INDEX_OUTOFBOUNDS_ERROR; @@ -310,7 +310,7 @@ const char *CharsetDetector::getCharsetName(int32_t index, UErrorCode &status) c } else { return fCSRecognizers[index]->getName(); } -} +}*/ U_NAMESPACE_END diff --git a/icu4c/source/i18n/csdetect.h b/icu4c/source/i18n/csdetect.h index 1cf323e30a6..405e1f55800 100644 --- a/icu4c/source/i18n/csdetect.h +++ b/icu4c/source/i18n/csdetect.h @@ -45,7 +45,7 @@ public: UBool getStripTagsFlag() const; - const char *getCharsetName(int32_t index, UErrorCode& status) const; +// const char *getCharsetName(int32_t index, UErrorCode& status) const; static int32_t getDetectableCount(); };