diff --git a/sw/source/core/doc/DocumentStatisticsManager.cxx b/sw/source/core/doc/DocumentStatisticsManager.cxx index d99ea52bcf6c..07ce961292e1 100644 --- a/sw/source/core/doc/DocumentStatisticsManager.cxx +++ b/sw/source/core/doc/DocumentStatisticsManager.cxx @@ -103,7 +103,6 @@ void DocumentStatisticsManager::UpdateDocStat( bool bCompleteAsync, bool bFields // returns true while there is more to do bool DocumentStatisticsManager::IncrementalDocStatCalculate(tools::Long nChars, bool bFields) { - mbInitialized = true; mpDocStat->Reset(); mpDocStat->nPara = 0; // default is 1! @@ -196,7 +195,7 @@ bool DocumentStatisticsManager::IncrementalDocStatCalculate(tools::Long nChars, SwFieldType *pType = m_rDoc.getIDocumentFieldsAccess().GetSysFieldType(SwFieldIds::DocStat); pType->UpdateFields(); } - + mbInitialized = nChars > 0; return nChars < 0; }