summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorDennis Francis <dennis.francis@collabora.com>2021-04-26 14:40:11 +0530
committerDennis Francis <dennis.francis@collabora.com>2021-05-13 16:23:04 +0200
commite2f771ffe8e82ba5a5001a71601abf3c45c56192 (patch)
treeaa6022f818523656bbaff725b5fa7c6033334952 /sc
parent6ba2260591633749144e4bf451046fe0c4352b55 (diff)
lok: Enable the "AutoInput" again.
This partly reverts commit 65990058f041c3f1d280a69d411eb4ceacf5a721. Change-Id: I494e3ffa3c9824fd6668b1c7322b9cf08accac21 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115456 Tested-by: Jenkins Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/app/inputhdl.cxx1
-rw-r--r--sc/source/ui/unoobj/docuno.cxx5
2 files changed, 1 insertions, 5 deletions
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index ff6459f2ee7c..9085f28638c3 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -801,6 +801,7 @@ ScInputHandler::ScInputHandler()
if (comphelper::LibreOfficeKit::isActive())
{
ScInputHandler::bOptLoaded = true; // Evaluate App options
+ ScInputHandler::bAutoComplete = true; // Is set in KeyInput
}
}
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index 3bade0c6164a..e12207f3ad37 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -1179,11 +1179,6 @@ void ScModelObj::initializeForTiledRendering(const css::uno::Sequence<css::beans
{
SolarMutexGuard aGuard;
- // disable word autocompletion
- ScAppOptions aAppOptions( SC_MOD()->GetAppOptions() );
- aAppOptions.SetAutoComplete(false);
- SC_MOD()->SetAppOptions(aAppOptions);
-
for (const beans::PropertyValue& rValue : rArguments)
{
if (rValue.Name == ".uno:SpellOnline" && rValue.Value.has<bool>())