+LocaleRuns::LocaleRuns(le_int32 initialCapacity)
+ : RunArray(initialCapacity), fLocales(NULL)
+{
+ if (initialCapacity > 0) {
+ fLocales = LE_NEW_ARRAY(const Locale *, initialCapacity);
+ }
+}
+
+LocaleRuns::~LocaleRuns()
+{
+ if (! fClientArrays) {
+ LE_DELETE_ARRAY(fLocales);
+ fLocales = NULL;
+ }
+}
+