summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorDennis Francis <dennis.francis@collabora.com>2021-04-26 14:40:11 +0530
committerLuboš Luňák <l.lunak@collabora.com>2021-05-06 11:08:23 +0200
commitdc3be089239068dc7deb5fb77b6b1f1306f194bd (patch)
treed0d30d5c0a81b410eedacf04231a0bb0a05beb17 /sc
parentdf9ea33934e8069d1789d4e25844a60abb0ec96d (diff)
lok: Enable the "AutoInput" again.
This partly reverts commit 65990058f041c3f1d280a69d411eb4ceacf5a721. Change-Id: I494e3ffa3c9824fd6668b1c7322b9cf08accac21 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115130 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Luboš Luňák <l.lunak@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 954af2a304cd..e7c68c0ad302 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -806,6 +806,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 1fb05739cea2..d67ad5b74632 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -1177,11 +1177,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>())