diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-10-06 11:00:19 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-10-06 15:03:35 +0200 |
commit | 53da556c600fa82ba84bc7fdce6a594b43f2b097 (patch) | |
tree | beba62455711bf02b6b358e8373559760e05136e /sw/source/uibase/uiview/view0.cxx | |
parent | 411f5e9cbd14bc3ffe7024b21434231662f6246d (diff) |
Don't schedule the Idle job for busy documents
This refactors DocumentTimerManager to export the busy status
independent of the Idle function. This way it can be ignored in
the Scheduler while the document is busy,
Change-Id: Icec2075d3338ad8dd4440678eb0570d7fe887778
Reviewed-on: https://gerrit.libreoffice.org/43197
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'sw/source/uibase/uiview/view0.cxx')
-rw-r--r-- | sw/source/uibase/uiview/view0.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uiview/view0.cxx b/sw/source/uibase/uiview/view0.cxx index 8f859fafd6c2..491017981728 100644 --- a/sw/source/uibase/uiview/view0.cxx +++ b/sw/source/uibase/uiview/view0.cxx @@ -524,7 +524,7 @@ void SwView::ExecViewOptions(SfxRequest &rReq) aCfg.GetProperty( UPN_IS_GRAMMAR_AUTO ) >>= bIsAutoGrammar; if (pDoc && bIsAutoGrammar) - StartGrammarChecking( *pDoc ); + pDoc->StartGrammarChecking(); } } break; |