Kaydet (Commit) b5051e5e authored tarafından Kurt Zenker's avatar Kurt Zenker

INTEGRATION: CWS docstat_SRC680 (1.48.14.1.2); FILE MERGED

2006/11/01 21:10:02 fme 1.48.14.1.2.1: #i70534# Only reset the document statistics modified flag if the statistics already have been set
üst ad87397d
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: doc.cxx,v $ * $RCSfile: doc.cxx,v $
* *
* $Revision: 1.50 $ * $Revision: 1.51 $
* *
* last change: $Author: vg $ $Date: 2006-11-01 15:10:05 $ * last change: $Author: kz $ $Date: 2006-11-06 14:41:31 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -1330,7 +1330,10 @@ void SwDoc::ResetModified() ...@@ -1330,7 +1330,10 @@ void SwDoc::ResetModified()
// Bit 1: -> neuer Zustand // Bit 1: -> neuer Zustand
long nCall = mbModified ? 1 : 0; long nCall = mbModified ? 1 : 0;
mbModified = FALSE; mbModified = FALSE;
pDocStat->bModified = FALSE; // If there is already a document statistic, we assume that
// it is correct. In this case we reset the modified flag.
if ( 0 != pDocStat->nChar )
pDocStat->bModified = FALSE;
nUndoSavePos = nUndoPos; nUndoSavePos = nUndoPos;
if( nCall && aOle2Link.IsSet() ) if( nCall && aOle2Link.IsSet() )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment