summaryrefslogtreecommitdiff
path: root/sw/source/core/inc/DocumentTimerManager.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/inc/DocumentTimerManager.hxx')
-rw-r--r--sw/source/core/inc/DocumentTimerManager.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/source/core/inc/DocumentTimerManager.hxx b/sw/source/core/inc/DocumentTimerManager.hxx
index d8c1a76b2a14..c2e923dc6543 100644
--- a/sw/source/core/inc/DocumentTimerManager.hxx
+++ b/sw/source/core/inc/DocumentTimerManager.hxx
@@ -23,6 +23,7 @@
#include <IDocumentTimerAccess.hxx>
#include <SwDocIdle.hxx>
+#include <vcl/idle.hxx>
#include <sal/types.h>
#include <tools/link.hxx>
@@ -56,6 +57,10 @@ public:
void StartBackgroundJobs() override;
+ /// Delay starting idle jobs to allow for post-load activity.
+ /// Used by LOK only.
+ DECL_LINK( FireIdleJobsTimeout, Timer *, void );
+
bool IsDocIdle() const override;
private:
@@ -71,6 +76,7 @@ private:
bool mbStartIdleTimer; //< idle timer mode start/stop
sal_Int32 mIdleBlockCount;
SwDocIdle maDocIdle;
+ Timer maFireIdleJobsTimer;
};
inline bool DocumentTimerManager::IsDocIdle() const