From 65aa717f98d717bb1f31debdfddcd36ee52ed1cc Mon Sep 17 00:00:00 2001 From: jp Date: Mon, 20 Nov 2000 13:45:26 +0000 Subject: UpdateDocState without second parameter --- sw/source/filter/html/swhtml.cxx | 12 ++++++------ sw/source/ui/dialog/docstdlg.cxx | 9 ++++++--- sw/source/ui/uno/unotxdoc.cxx | 6 +++--- 3 files changed, 15 insertions(+), 12 deletions(-) diff --git a/sw/source/filter/html/swhtml.cxx b/sw/source/filter/html/swhtml.cxx index bd854a1a4768..ee83612c5c00 100644 --- a/sw/source/filter/html/swhtml.cxx +++ b/sw/source/filter/html/swhtml.cxx @@ -2,9 +2,9 @@ * * $RCSfile: swhtml.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: hr $ $Date: 2000-11-15 16:26:50 $ + * last change: $Author: jp $ $Date: 2000-11-20 14:45:26 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -962,10 +962,7 @@ if( pSttNdIdx->GetIndex()+1 == pPam->GetBound( FALSE ).nNode.GetIndex() ) if( bUpdateDocStat ) { SwDocStat aStat( pDoc->GetDocStat() ); - ViewShell *pTmpVSh = 0; - pDoc->GetEditShell( &pTmpVSh ); - USHORT nPages = pTmpVSh ? pTmpVSh->GetNumPages() : 1; - pDoc->UpdateDocStat( aStat, nPages ); + pDoc->UpdateDocStat( aStat ); } } @@ -5240,6 +5237,9 @@ void _HTMLAttr::InsertPrev( _HTMLAttr *pPrv ) /************************************************************************* $Log: not supported by cvs2svn $ + Revision 1.4 2000/11/15 16:26:50 hr + #65293# includes + Revision 1.3 2000/11/13 10:42:42 jp must changes: use Search from SvtPathOptions diff --git a/sw/source/ui/dialog/docstdlg.cxx b/sw/source/ui/dialog/docstdlg.cxx index 35d13bc7909d..931bd3183dcf 100644 --- a/sw/source/ui/dialog/docstdlg.cxx +++ b/sw/source/ui/dialog/docstdlg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: docstdlg.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 17:14:34 $ + * last change: $Author: jp $ $Date: 2000-11-20 14:44:37 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -311,7 +311,7 @@ void SwDocStatPage::Update() SwWait aWait( *pSh->GetDoc()->GetDocShell(), TRUE ); pSh->StartAction(); - pSh->GetDoc()->UpdateDocStat( aDocStat, pSh->GetNumPages() ); + pSh->GetDoc()->UpdateDocStat( aDocStat ); pSh->EndAction(); SetData(aDocStat); @@ -336,6 +336,9 @@ IMPL_LINK( SwDocStatPage, UpdateHdl, PushButton*, pButton) /*------------------------------------------------------------------------ $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 17:14:34 hr + initial import + Revision 1.43 2000/09/18 16:05:20 willem.vandorp OpenOffice header added. diff --git a/sw/source/ui/uno/unotxdoc.cxx b/sw/source/ui/uno/unotxdoc.cxx index d874ba3cf748..b457d84bcfa7 100644 --- a/sw/source/ui/uno/unotxdoc.cxx +++ b/sw/source/ui/uno/unotxdoc.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unotxdoc.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: jp $ $Date: 2000-11-20 09:27:31 $ + * last change: $Author: jp $ $Date: 2000-11-20 14:43:38 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1897,7 +1897,7 @@ Any SwXTextDocument::getPropertyValue(const OUString& rPropertyName) { SwDocStat aStat(pDocShell->GetDoc()->GetDocStat()); if(aStat.bModified) - pDocShell->GetDoc()->UpdateDocStat( aStat, 1 ); + pDocShell->GetDoc()->UpdateDocStat( aStat ); sal_Int32 nValue; switch(pMap->nWID) { -- cgit v1.2.3