tdf#136694 - share spelling context across all ScGridWindows.
commit65f42a4540d495a11d255af63c7ee15397b57bfa
authorMichael Meeks <michael.meeks@collabora.com>
Thu, 22 Oct 2020 18:45:16 +0000 (22 19:45 +0100)
committerNoel Grandin <noel.grandin@collabora.co.uk>
Wed, 28 Oct 2020 12:08:15 +0000 (28 13:08 +0100)
treef57537ed3aa864ca8843ce0820192ac23e9b7aff
parent7a09d67e1c76db7cb6a87a2ceaa6de7325342b75
tdf#136694 - share spelling context across all ScGridWindows.

Adding new ScGridWindows later (as we do for split panes)
didn't call EnableAutoSpell on them; also duplicating the
spell-checking cache looks wasteful, so share it.

Change-Id: Ieb67bb292590a097bb5a59d369416a094c54c954
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104706
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
sc/inc/spellcheckcontext.hxx
sc/source/ui/inc/gridwin.hxx
sc/source/ui/inc/tabview.hxx
sc/source/ui/view/gridwin.cxx
sc/source/ui/view/spellcheckcontext.cxx
sc/source/ui/view/tabview.cxx
sc/source/ui/view/tabview5.cxx