From bdd149b1ff3d43b94cadc0d43365100c287c7639 Mon Sep 17 00:00:00 2001 From: Dennis Francis Date: Sun, 4 Oct 2020 12:47:46 +0530 Subject: 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 --- sc/inc/editutil.hxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sc/inc/editutil.hxx') 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, -- cgit