[Libreoffice-commits] core.git: sw/source

Michael Meeks michael.meeks at suse.com
Wed Feb 13 08:04:45 PST 2013


 sw/source/core/doc/doc.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit a128bea5dda1d74426dae62b032d5af52f431fe2
Author: Michael Meeks <michael.meeks at suse.com>
Date:   Wed Feb 13 16:04:01 2013 +0000

    cancel asynchronous word-count on sync. word-count.

diff --git a/sw/source/core/doc/doc.cxx b/sw/source/core/doc/doc.cxx
index 0470ef3..b9bc7d2 100644
--- a/sw/source/core/doc/doc.cxx
+++ b/sw/source/core/doc/doc.cxx
@@ -1792,7 +1792,10 @@ void SwDoc::UpdateDocStat( bool bCompleteAsync )
     if( pDocStat->bModified )
     {
         if (!bCompleteAsync)
+        {
             while (IncrementalDocStatCalculate()) {}
+            aStatsUpdateTimer.Stop();
+        }
         else if (IncrementalDocStatCalculate())
             aStatsUpdateTimer.Start();
     }


More information about the Libreoffice-commits mailing list