Prevent from inf loop in paste from word plugin.
Changelog entry.
Merge branch 't/10285'