diff --git a/src/libse/Common/Subtitle.cs b/src/libse/Common/Subtitle.cs index df0011097e..a9c217cee1 100644 --- a/src/libse/Common/Subtitle.cs +++ b/src/libse/Common/Subtitle.cs @@ -1001,18 +1001,7 @@ public int GetFastHashCodeTextOnly() /// Concatenates all Paragraphs Text property, using the default NewLine string between each Text. /// /// Concatenated Text property of all Paragraphs. - public string GetAllTexts() - { - var max = Paragraphs.Count; - const int averageLength = 40; - var sb = new StringBuilder(max * averageLength); - for (var index = 0; index < max; index++) - { - sb.AppendLine(Paragraphs[index].Text); - } - - return sb.ToString(); - } + public string GetAllTexts() => GetAllTexts(int.MaxValue); /// /// Concatenates all Paragraphs Text property, using the default NewLine string between each Text.