[Libreoffice-commits] core.git: sc/source

Marco Cecchetti marco.cecchetti at collabora.com
Fri Mar 3 10:18:15 UTC 2017


 sc/source/ui/unoobj/docuno.cxx |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit 0413abc89aec23f5ba4c9a3e93a85c2a8d2a0374
Author: Marco Cecchetti <marco.cecchetti at collabora.com>
Date:   Wed Mar 1 18:55:11 2017 +0100

    LOK: Calc: autocomplete makes view to jump to a different place
    
    We disable auto-complete feature as a workaround.
    
    Change-Id: I25fa7591231836e0673e97fdf2c3ca72ab20e1e4
    Reviewed-on: https://gerrit.libreoffice.org/34835
    Reviewed-by: Marco Cecchetti <mrcekets at gmail.com>
    Tested-by: Marco Cecchetti <mrcekets at gmail.com>
    (cherry picked from commit 917aac7aa689dc7279ee492e7102d33a9030d929)
    Reviewed-on: https://gerrit.libreoffice.org/34836
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Jan Holesovsky <kendy at collabora.com>

diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index b5d460d..638f949 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -1029,11 +1029,15 @@ OUString ScModelObj::getPostIts()
 
     return OUString::fromUtf8(aStream.str().c_str());
 }
-
 void ScModelObj::initializeForTiledRendering(const css::uno::Sequence<css::beans::PropertyValue>& /*rArguments*/)
 {
     SolarMutexGuard aGuard;
 
+    // disable word autocompletion
+    ScAppOptions aAppOptions( SC_MOD()->GetAppOptions() );
+    aAppOptions.SetAutoComplete(false);
+    SC_MOD()->SetAppOptions(aAppOptions);
+
     // show us the text exactly
     ScInputOptions aInputOptions(SC_MOD()->GetInputOptions());
     aInputOptions.SetTextWysiwyg(true);


More information about the Libreoffice-commits mailing list