From b45e4dbc89aa6f864721eba5278b8b0c11eb4ff8 Mon Sep 17 00:00:00 2001 From: craig Date: Thu, 19 Apr 2012 20:32:43 +0000 Subject: Fix change offset for word replacements, and simplify code a decent amount git-svn-id: svn://scribus.net/branches/Version14x/Scribus@17457 11d20701-8431-0410-a711-e3c959e3b870 --- scribus/plugins/tools/hunspellcheck/hunspellpluginimpl.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'scribus/plugins/tools/hunspellcheck/hunspellpluginimpl.cpp') diff --git a/scribus/plugins/tools/hunspellcheck/hunspellpluginimpl.cpp b/scribus/plugins/tools/hunspellcheck/hunspellpluginimpl.cpp index 61abd38..7af6181 100644 --- a/scribus/plugins/tools/hunspellcheck/hunspellpluginimpl.cpp +++ b/scribus/plugins/tools/hunspellcheck/hunspellpluginimpl.cpp @@ -177,6 +177,7 @@ bool HunspellPluginImpl::parseTextFrame(PageItem *frameToCheck) wf.replacements=replacements; wf.changed=false; wf.ignore=false; + wf.changeOffset=0; wordsToCorrect.append(wf); } } -- cgit