sw/source/core/doc/DocumentTimerManager.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ce68889678bca3b51c258452f7bfdd21982e4a0d
Author:     Jan-Marek Glogowski <glo...@fbihome.de>
AuthorDate: Fri Aug 24 08:05:26 2018 +0200
Commit:     Jan-Marek Glogowski <glo...@fbihome.de>
CommitDate: Fri Aug 24 10:18:29 2018 +0200

    tdf#119458 always start the SwDocIdle
    
    The SwDocIdle prevents its own scheduling, while its document is
    busy. In theory something should kick the Idle, when the document
    isn't busy anymore, but SwViewOption doesn't have access to the
    doc easily.
    
    So this returns to the old state, where each StartIdling kicks
    the SwDocIdle, as long as it is not blocked. This is the way it
    has been working - out of luck - since ever.
    
    Eventually all the "other" Writer idle handling should be dropped
    in favour of the IDocumentTimerAccess interface, or otherwise be
    consolidated.
    
    Change-Id: I9e1cf5c309f614da579458981332ed1ee32c7c3f
    Reviewed-on: https://gerrit.libreoffice.org/59536
    Tested-by: Jenkins
    Reviewed-by: Jan-Marek Glogowski <glo...@fbihome.de>

diff --git a/sw/source/core/doc/DocumentTimerManager.cxx 
b/sw/source/core/doc/DocumentTimerManager.cxx
index 35f2eb94dcbd..205e5992e59c 100644
--- a/sw/source/core/doc/DocumentTimerManager.cxx
+++ b/sw/source/core/doc/DocumentTimerManager.cxx
@@ -49,7 +49,7 @@ DocumentTimerManager::DocumentTimerManager( SwDoc& i_rSwdoc ) 
: m_rDoc( i_rSwdoc
 
 void DocumentTimerManager::StartIdling()
 {
-    if( !mIdleBlockCount && !maDocIdle.IsActive() )
+    if( !mIdleBlockCount )
     {
         mbStartIdleTimer = false;
         maDocIdle.Start();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to