git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@89 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
niksedk 2010-10-26 17:52:51 +00:00
parent 45bfc670b8
commit e138f834ac

View File

@ -755,12 +755,12 @@ namespace Nikse.SubtitleEdit.Logic.OCR
} }
catch catch
{ {
doc.LoadXml("<ReplaceList><WholeWords/><PartialLines/><BeginLines/><EndLines/><WholeLines/><Letters/></ReplaceList>"); doc.LoadXml("<ReplaceList><WholeWords/><PartialLines/><BeginLines/><EndLines/><WholeLines/></ReplaceList>");
} }
} }
else else
{ {
doc.LoadXml("<ReplaceList><WholeWords/><PartialLines/><BeginLines/><EndLines/><WholeLines/><Letters/></ReplaceList>"); doc.LoadXml("<ReplaceList><WholeWords/><PartialLines/><BeginLines/><EndLines/><WholeLines/></ReplaceList>");
} }
if (!_wordReplaceList.ContainsKey(word)) if (!_wordReplaceList.ContainsKey(word))
_wordReplaceList.Add(word, _spellCheck.Word); _wordReplaceList.Add(word, _spellCheck.Word);