mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 19:22:53 +01:00
Remove unused/duplicated method
This commit is contained in:
parent
139c2f6aba
commit
16e78d063c
@ -569,18 +569,6 @@ namespace Nikse.SubtitleEdit.Logic.Ocr
|
||||
return sb.ToString();
|
||||
}
|
||||
|
||||
public static string FixLowerCaseLInsideUpperCaseWord(string word)
|
||||
{
|
||||
if (word.Length > 3 && word.Replace("l", string.Empty).ToUpper() == word.Replace("l", string.Empty))
|
||||
{
|
||||
if (!word.Contains(new[] { '<', '>', '\'' }))
|
||||
{
|
||||
word = word.Replace('l', 'I');
|
||||
}
|
||||
}
|
||||
return word;
|
||||
}
|
||||
|
||||
private string FixCommonOcrLineErrors(string input, string lastLine)
|
||||
{
|
||||
input = FixOcrErrorViaLineReplaceList(input);
|
||||
|
Loading…
Reference in New Issue
Block a user