sw/source/uibase/uno/unotxdoc.cxx | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit 9f219be16055480ca46d1bdf95ca3a38355cbee6 Author: Jan Holesovsky <ke...@collabora.com> Date: Wed Dec 14 13:56:42 2016 +0100 Disable the auto-completion for LibreOfficeKit for good. The editeng-like approach is terribly annoying when typing, particularly in bullet lists. Change-Id: I66175579f801fa028273d9680d7383d8eb37bf28 diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx index 531bec7..d62b3f7 100644 --- a/sw/source/uibase/uno/unotxdoc.cxx +++ b/sw/source/uibase/uno/unotxdoc.cxx @@ -33,6 +33,8 @@ #include <toolkit/helper/vclunohelper.hxx> #include <toolkit/awt/vclxdevice.hxx> #include <LibreOfficeKit/LibreOfficeKitEnums.h> +#include <editeng/svxacorr.hxx> +#include <editeng/acorrcfg.hxx> #include <cmdid.h> #include <swtypes.hxx> #include <wdocsh.hxx> @@ -3294,6 +3296,10 @@ void SwXTextDocument::initializeForTiledRendering(const css::uno::Sequence<css:: // causing 'Save' being disabled; so let's always save to the original // format SvtSaveOptions().SetWarnAlienFormat(false); + + // disable word auto-completion suggestions, the tooltips are not visible, + // and the editeng-like auto-completion is annoying + SvxAutoCorrCfg::Get().GetAutoCorrect()->GetSwFlags().bAutoCompleteWords = false; } void SwXTextDocument::postKeyEvent(int nType, int nCharCode, int nKeyCode) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits