summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/flowfrm.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-07-10 14:29:29 +0000
committerOliver Bolte <obo@openoffice.org>2006-07-10 14:29:29 +0000
commitac81b118e66b83318faf60a76d43258f90f95a25 (patch)
treeced274df723e8cac83febe31d32b616392c7da12 /sw/source/core/layout/flowfrm.cxx
parent405ca46b067aaa263b13f37dec9a1019f12ea29a (diff)
INTEGRATION: CWS wordcountopt (1.54.76); FILE MERGED
2006/06/04 16:42:35 fme 1.54.76.2: RESYNC: (1.54-1.56); FILE MERGED 2006/05/02 08:33:19 fme 1.54.76.1: #i64985# Word count should be done during idle time
Diffstat (limited to 'sw/source/core/layout/flowfrm.cxx')
-rw-r--r--sw/source/core/layout/flowfrm.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/sw/source/core/layout/flowfrm.cxx b/sw/source/core/layout/flowfrm.cxx
index e8c3af9fdef9..9d69349cbb56 100644
--- a/sw/source/core/layout/flowfrm.cxx
+++ b/sw/source/core/layout/flowfrm.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: flowfrm.cxx,v $
*
- * $Revision: 1.57 $
+ * $Revision: 1.58 $
*
- * last change: $Author: vg $ $Date: 2006-06-02 12:11:54 $
+ * last change: $Author: obo $ $Date: 2006-07-10 15:29:29 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -2087,8 +2087,10 @@ BOOL SwFlowFrm::MoveFwd( BOOL bMakePage, BOOL bPageBreak, BOOL bMoveAlways )
ViewShell *pSh = rThis.GetShell();
if ( pSh && !pSh->Imp()->IsUpdateExpFlds() )
pSh->GetDoc()->SetNewFldLst(); //Wird von CalcLayout() hinterher erledigt!
+
pNewPage->InvalidateSpelling();
pNewPage->InvalidateAutoCompleteWords();
+ pNewPage->InvalidateWordCount();
}
}
}
@@ -2558,8 +2560,11 @@ BOOL SwFlowFrm::MoveBwd( BOOL &rbReformat )
ViewShell *pSh = rThis.GetShell();
if ( pSh && !pSh->Imp()->IsUpdateExpFlds() )
pSh->GetDoc()->SetNewFldLst(); //Wird von CalcLayout() hinterher eledigt!
+
pNewPage->InvalidateSpelling();
pNewPage->InvalidateAutoCompleteWords();
+ pNewPage->InvalidateWordCount();
+
// OD 30.10.2002 #97265# - no <CheckPageDesc(..)> in online layout
if ( !pNewPage->GetFmt()->GetDoc()->IsBrowseMode() )
{