[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.4' - sc/source

Dennis Francis (via logerrit) logerrit at kemper.freedesktop.org
Thu May 6 09:08:57 UTC 2021


 sc/source/ui/app/inputhdl.cxx  |    1 +
 sc/source/ui/unoobj/docuno.cxx |    5 -----
 2 files changed, 1 insertion(+), 5 deletions(-)

New commits:
commit dc3be089239068dc7deb5fb77b6b1f1306f194bd
Author:     Dennis Francis <dennis.francis at collabora.com>
AuthorDate: Mon Apr 26 14:40:11 2021 +0530
Commit:     Luboš Luňák <l.lunak at collabora.com>
CommitDate: Thu May 6 11:08:23 2021 +0200

    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 at gmail.com>
    Reviewed-by: Luboš Luňák <l.lunak at collabora.com>

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>())


More information about the Libreoffice-commits mailing list