]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/common/brkeng.cpp
ICU-491.11.1.tar.gz
[apple/icu.git] / icuSources / common / brkeng.cpp
index 6d1fa366983910deb5ea7fb67097e33c9daa9020..b2b2d263b8d1252f7ab8e20e1fc41d46b77e3897 100644 (file)
@@ -1,7 +1,7 @@
-/**
+/*
  ************************************************************************************
- * Copyright (C) 2006-2009, International Business Machines Corporation and others. *
- * All Rights Reserved.                                                             *
+ * Copyright (C) 2006-2011, International Business Machines Corporation
+ * and others. All Rights Reserved.
  ************************************************************************************
  */
 
@@ -130,7 +130,7 @@ ICULanguageBreakFactory::~ICULanguageBreakFactory() {
 U_NAMESPACE_END
 U_CDECL_BEGIN
 static void U_CALLCONV _deleteEngine(void *obj) {
-    delete (const U_NAMESPACE_QUALIFIER LanguageBreakEngine *) obj;
+    delete (const icu::LanguageBreakEngine *) obj;
 }
 U_CDECL_END
 U_NAMESPACE_BEGIN
@@ -226,6 +226,9 @@ ICULanguageBreakFactory::loadEngineFor(UChar32 c, int32_t breakType) {
             case USCRIPT_THAI:
                 engine = new ThaiBreakEngine(dict, status);
                 break;
+            case USCRIPT_KHMER:
+                engine = new KhmerBreakEngine(dict, status);
+                break;
             default:
                 break;
             }