[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - sw/source
Michael Stahl
mstahl at redhat.com
Fri Aug 16 07:56:37 PDT 2013
sw/source/core/doc/doc.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit a8d35a87d65e6be12bcd3fc410ba32b2fb9ecd65
Author: Michael Stahl <mstahl at redhat.com>
Date: Wed Aug 14 12:27:29 2013 +0200
sw: do non-incremental word count in one step
Not sure if it solves a real problem, but seems sensible.
Change-Id: I3a75da924aaffb452da158a6e5c0b3465fe5687b
(cherry picked from commit 3f66fadc2ddbec42a5fd7ee34b18826ef4ede503)
Reviewed-on: https://gerrit.libreoffice.org/5410
Reviewed-by: Petr Mladek <pmladek at suse.cz>
Tested-by: Petr Mladek <pmladek at suse.cz>
diff --git a/sw/source/core/doc/doc.cxx b/sw/source/core/doc/doc.cxx
index 1993018..8cf4f11 100644
--- a/sw/source/core/doc/doc.cxx
+++ b/sw/source/core/doc/doc.cxx
@@ -1758,7 +1758,8 @@ void SwDoc::UpdateDocStat( bool bCompleteAsync, bool bFields )
{
if (!bCompleteAsync)
{
- while (IncrementalDocStatCalculate(5000, bFields)) {}
+ while (IncrementalDocStatCalculate(
+ ::std::numeric_limits<long>::max(), bFields)) {}
maStatsUpdateTimer.Stop();
}
else if (IncrementalDocStatCalculate(5000, bFields))
More information about the Libreoffice-commits
mailing list