diff options
| author | craig <craig@11d20701-8431-0410-a711-e3c959e3b870> | 2012-04-19 20:32:43 +0000 |
|---|---|---|
| committer | craig <craig@11d20701-8431-0410-a711-e3c959e3b870> | 2012-04-19 20:32:43 +0000 |
| commit | b45e4dbc89aa6f864721eba5278b8b0c11eb4ff8 (patch) | |
| tree | 070be75e957291e6e3257a676b77c0d12464206f /scribus/plugins/tools/hunspellcheck/hunspellpluginimpl.cpp | |
| parent | 9722f324f4a4e6b4d14026dbed8b0d6cd11618ba (diff) | |
| download | scribus-b45e4dbc89aa6f864721eba5278b8b0c11eb4ff8.tar.gz scribus-b45e4dbc89aa6f864721eba5278b8b0c11eb4ff8.tar.xz scribus-b45e4dbc89aa6f864721eba5278b8b0c11eb4ff8.zip | |
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
Diffstat (limited to 'scribus/plugins/tools/hunspellcheck/hunspellpluginimpl.cpp')
| -rw-r--r-- | scribus/plugins/tools/hunspellcheck/hunspellpluginimpl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); } } |
