Kaydet (Commit) 9f219be1 authored tarafından Jan Holesovsky's avatar Jan Holesovsky

Disable the auto-completion for LibreOfficeKit for good.

The editeng-like approach is terribly annoying when typing, particularly in
bullet lists.

Change-Id: I66175579f801fa028273d9680d7383d8eb37bf28
üst d543d66a
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment