summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Cecchetti <marco.cecchetti@collabora.com>2017-03-01 18:55:11 +0100
committerJan Holesovsky <kendy@collabora.com>2017-03-03 10:17:40 +0000
commit0413abc89aec23f5ba4c9a3e93a85c2a8d2a0374 (patch)
tree77922e62f014c4425cf53dfa55b99ffea738888b
parentavmedia: silence pointless warning about VLC (diff)
downloadcore-0413abc89aec23f5ba4c9a3e93a85c2a8d2a0374.tar.gz
core-0413abc89aec23f5ba4c9a3e93a85c2a8d2a0374.zip
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@gmail.com> Tested-by: Marco Cecchetti <mrcekets@gmail.com> (cherry picked from commit 917aac7aa689dc7279ee492e7102d33a9030d929) Reviewed-on: https://gerrit.libreoffice.org/34836 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
-rw-r--r--sc/source/ui/unoobj/docuno.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index b5d460dba5ec..638f9490084e 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);