@@ -34,11 +34,11 @@ /* * We can't use allocMemoryWithSize: here as it might be a @"" literal */ if ((str_c = malloc(len)) == NULL) @throw [OFOutOfMemoryException newWithClass: isa - size: len]; + requestedSize: len]; for (i = 0; i < length; i++) { switch (string[i]) { case '<': append = "<"; @@ -67,12 +67,12 @@ if (append != NULL) { if ((tmp = realloc(str_c, len + append_len)) == NULL) { free(str_c); @throw [OFOutOfMemoryException - newWithClass: isa - size: len + append_len]; + newWithClass: isa + requestedSize: len + append_len]; } str_c = tmp; len += append_len - 1; memcpy(str_c + j, append, append_len);