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:40:58 +0100 |
commit | 5abe9163c574c622e664aa8e495057f692aab109 (patch) | |
tree | 649107c60b7517a9c48d96fc69c9e8235eaf5d6e /sw/source | |
parent | a104cbe76eefca3cf23973da68893d2225fd718b (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')
-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 efee6aef26a4..109b639e2d89 100644 --- a/sw/source/uibase/uno/unotxdoc.cxx +++ b/sw/source/uibase/uno/unotxdoc.cxx @@ -3283,6 +3283,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) |