diff options
author | Dennis Francis <dennis.francis@collabora.com> | 2020-10-04 12:47:46 +0530 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-10-28 08:39:25 +0100 |
commit | bdd149b1ff3d43b94cadc0d43365100c287c7639 (patch) | |
tree | a23299569c37922d7f531076d750e517ff01bb3a /sc/inc/editutil.hxx | |
parent | 2beecc277959051026d7d1303e3c3ad7922c326c (diff) |
Improve spell checking performance and impl. in several ways:
* do synchronous spell checking, avoiding an idle handler
* avoid continuous invalidations caused per-cell by spell-checking
* cache spell-checking information for a given SharedString to
avoid repeated checking of frequently recurring strings.
Change-Id: Ie251f263a8932465297dd8bd66dfc4aa10984947
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104705
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/editutil.hxx')
-rw-r--r-- | sc/inc/editutil.hxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sc/inc/editutil.hxx b/sc/inc/editutil.hxx index f28249145c06..d760faf5c53e 100644 --- a/sc/inc/editutil.hxx +++ b/sc/inc/editutil.hxx @@ -117,10 +117,8 @@ protected: class SC_DLLPUBLIC ScEditEngineDefaulter : public ScEnginePoolHelper, public EditEngine { -private: - using EditEngine::SetText; - public: + using EditEngine::SetText; /// bDeleteEnginePool: Engine becomes the owner of the pool /// and deletes it on destruction ScEditEngineDefaulter( SfxItemPool* pEnginePool, |