sw/source/core/doc/doc.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit a128bea5dda1d74426dae62b032d5af52f431fe2
Author: Michael Meeks <[email protected]>
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();
}
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits