sw/source/core/doc/doc.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 3f66fadc2ddbec42a5fd7ee34b18826ef4ede503 Author: Michael Stahl <mst...@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 diff --git a/sw/source/core/doc/doc.cxx b/sw/source/core/doc/doc.cxx index 6675507..d66c9e3 100644 --- a/sw/source/core/doc/doc.cxx +++ b/sw/source/core/doc/doc.cxx @@ -1762,7 +1762,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)) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits