diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2020-10-22 19:45:16 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-10-28 13:08:15 +0100 |
commit | 65f42a4540d495a11d255af63c7ee15397b57bfa (patch) | |
tree | f57537ed3aa864ca8843ce0820192ac23e9b7aff /sc/source/ui/inc/tabview.hxx | |
parent | 7a09d67e1c76db7cb6a87a2ceaa6de7325342b75 (diff) |
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>
Diffstat (limited to 'sc/source/ui/inc/tabview.hxx')
-rw-r--r-- | sc/source/ui/inc/tabview.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/inc/tabview.hxx b/sc/source/ui/inc/tabview.hxx index a716763f1d73..17809c51fdc8 100644 --- a/sc/source/ui/inc/tabview.hxx +++ b/sc/source/ui/inc/tabview.hxx @@ -156,6 +156,8 @@ private: VclPtr<ScCornerButton> aTopButton; VclPtr<ScrollBarBox> aScrollBarBox; + std::shared_ptr<sc::SpellCheckContext> mpSpellCheckCxt; + std::unique_ptr<sdr::overlay::OverlayObjectList> mxInputHintOO; // help hint for data validation std::unique_ptr<ScPageBreakData> pPageBreakData; |