diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2013-07-16 18:26:18 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2013-07-16 18:46:20 +0200 |
commit | e2484e3998f2c5036fb8e3584d4b1c72db19bfd3 (patch) | |
tree | ea31615acfe120cacf3b5ccb31710ca95b098b96 /sw/inc/IDocumentStatistics.hxx | |
parent | 8c9f41f2e6600296e3663c681b3902d2a4d7bbd6 (diff) |
fdo#63273 sw: let word count not update stat. fields
Updating fields would generate loads of selection change events and it's
not what we asked for.
Regression from ce14342c4292628a641a72d4f63d9c048e030c6a.
Change-Id: If237df1f31436357022ca8d77b924681e403abd8
Diffstat (limited to 'sw/inc/IDocumentStatistics.hxx')
-rw-r--r-- | sw/inc/IDocumentStatistics.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sw/inc/IDocumentStatistics.hxx b/sw/inc/IDocumentStatistics.hxx index 2c5a05019ccb..950ea49236f1 100644 --- a/sw/inc/IDocumentStatistics.hxx +++ b/sw/inc/IDocumentStatistics.hxx @@ -43,8 +43,9 @@ * modified and returns a reference to the result. * \param bCompleteAsync if true will return a partial result, * and potentially trigger a timeout to complete the work. + * \param bFields if stat. fields should be updated */ - virtual const SwDocStat &GetUpdatedDocStat(bool bCompleteAsync) = 0; + virtual const SwDocStat &GetUpdatedDocStat(bool bCompleteAsync, bool bFields) = 0; /// Set the document statistics virtual void SetDocStat(const SwDocStat& rStat) = 0; @@ -53,8 +54,9 @@ * Updates the internal document's statistics * \param bCompleteAsync if true it may do part of the * work and trigger a timeout to complete it. + * \param bFields if stat. fields should be updated */ - virtual void UpdateDocStat(bool bCompleteAsync) = 0; + virtual void UpdateDocStat(bool bCompleteAsync, bool bFields) = 0; protected: virtual ~IDocumentStatistics() {}; |