Index: source/i18n/csrsbcs.h |
diff --git a/source/i18n/csrsbcs.h b/source/i18n/csrsbcs.h |
index 7789f9bb7c6b6a8d128a5a71db4c3f13e1e653d9..046da679f52a927dcf1bc7960745f2f8959194c4 100644 |
--- a/source/i18n/csrsbcs.h |
+++ b/source/i18n/csrsbcs.h |
@@ -1,6 +1,6 @@ |
/* |
********************************************************************** |
- * Copyright (C) 2005-2013, International Business Machines |
+ * Copyright (C) 2005-2015, International Business Machines |
* Corporation and others. All Rights Reserved. |
********************************************************************** |
*/ |
@@ -33,6 +33,7 @@ protected: |
public: |
NGramParser(const int32_t *theNgramList, const uint8_t *theCharMap); |
+ virtual ~NGramParser(); |
private: |
/* |
@@ -50,17 +51,18 @@ public: |
}; |
-#if !UCONFIG_NO_NON_HTML5_CONVERSION |
+#if !UCONFIG_ONLY_HTML_CONVERSION |
class NGramParser_IBM420 : public NGramParser |
{ |
-private: |
- int32_t alef; |
- int32_t isLamAlef(int32_t b); |
- int32_t nextByte(InputText *det); |
- void parseCharacters(InputText *det); |
- |
public: |
NGramParser_IBM420(const int32_t *theNgramList, const uint8_t *theCharMap); |
+ ~NGramParser_IBM420(); |
+ |
+private: |
+ int32_t alef; |
+ int32_t isLamAlef(int32_t b); |
+ int32_t nextByte(InputText *det); |
+ void parseCharacters(InputText *det); |
}; |
#endif |
@@ -231,7 +233,7 @@ public: |
virtual UBool match(InputText *det, CharsetMatch *results) const; |
}; |
-#if !UCONFIG_NO_NON_HTML5_CONVERSION |
+#if !UCONFIG_ONLY_HTML_CONVERSION |
class CharsetRecog_IBM424_he : public CharsetRecog_sbcs |
{ |
public: |