sw/source/core/doc/doc.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit a8d35a87d65e6be12bcd3fc410ba32b2fb9ecd65 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 (cherry picked from commit 3f66fadc2ddbec42a5fd7ee34b18826ef4ede503) Reviewed-on: https://gerrit.libreoffice.org/5410 Reviewed-by: Petr Mladek <pmla...@suse.cz> Tested-by: Petr Mladek <pmla...@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)) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits