diff options
author | Marco Cecchetti <marco.cecchetti@collabora.com> | 2017-03-01 18:55:11 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2017-03-03 10:17:40 +0000 |
commit | 0413abc89aec23f5ba4c9a3e93a85c2a8d2a0374 (patch) | |
tree | 77922e62f014c4425cf53dfa55b99ffea738888b /sc | |
parent | d58158a677aa670af44a85f2d5a555539541eb36 (diff) |
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>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/unoobj/docuno.cxx | 6 |
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); |