diff options
author | Jan Holesovsky <kendy@collabora.com> | 2017-01-19 19:40:58 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2017-01-19 19:44:13 +0100 |
commit | 882e5625945dbb95e03282899941a56610066003 (patch) | |
tree | 3ae41eacfd455c537896e27f7823ab5cb4951c3b /sw/source/uibase/uno/unotxdoc.cxx | |
parent | 4b429851e54ccc42e5f9acebce67139bc3d5e244 (diff) |
Preserve whitespace with tiled rendering.
Online is often used for taking minutes, and during that, people don't have
time to play with the formatting - so it is annoying when autocorrect goes in
the way.
Change-Id: Ia1794c46d3003198764f666951821f693d710653
Diffstat (limited to 'sw/source/uibase/uno/unotxdoc.cxx')
-rw-r--r-- | sw/source/uibase/uno/unotxdoc.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx index 54d186c8ce77..df124cf3baf3 100644 --- a/sw/source/uibase/uno/unotxdoc.cxx +++ b/sw/source/uibase/uno/unotxdoc.cxx @@ -3300,6 +3300,10 @@ void SwXTextDocument::initializeForTiledRendering(const css::uno::Sequence<css:: // disable word auto-completion suggestions, the tooltips are not visible, // and the editeng-like auto-completion is annoying SvxAutoCorrCfg::Get().GetAutoCorrect()->GetSwFlags().bAutoCompleteWords = false; + + // don't change the whitespace at the beginning of paragraphs, this is + // annoying when taking minutes without further formatting + pDocShell->GetWrtShell()->GetAutoFormatFlags()->bAFormatByInpDelSpacesAtSttEnd = false; } void SwXTextDocument::postKeyEvent(int nType, int nCharCode, int nKeyCode) |