diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-09-07 16:47:32 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-09-07 16:48:02 +0100 |
commit | 2195e0c699be6093f200ba6225a80ec4b9a545b8 (patch) | |
tree | c1e2c35e3e4a75466d68dace84784efb4bec70da /sw | |
parent | cd3588634d8655ead8d4a1588c638418ed948c36 (diff) |
Resolves: fdo#53590 you can trust no one to tell you the truth
Change-Id: I6850d2060c1c7490c15c8eff7e0338433e8dab32
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/doc/doc.cxx | 4 | ||||
-rw-r--r-- | sw/source/filter/xml/xmlmeta.cxx | 2 |
2 files changed, 0 insertions, 6 deletions
diff --git a/sw/source/core/doc/doc.cxx b/sw/source/core/doc/doc.cxx index f7b5bfd1a2ef..8b439b3f9925 100644 --- a/sw/source/core/doc/doc.cxx +++ b/sw/source/core/doc/doc.cxx @@ -1941,10 +1941,6 @@ void SwDoc::ResetModified() // Bit 1: -> new state long nCall = mbModified ? 1 : 0; mbModified = sal_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->nCharExcludingSpaces ) - pDocStat->bModified = sal_False; GetIDocumentUndoRedo().SetUndoNoModifiedPosition(); if( nCall && aOle2Link.IsSet() ) { diff --git a/sw/source/filter/xml/xmlmeta.cxx b/sw/source/filter/xml/xmlmeta.cxx index 765ac108cc7d..0b80ece87fed 100644 --- a/sw/source/filter/xml/xmlmeta.cxx +++ b/sw/source/filter/xml/xmlmeta.cxx @@ -159,8 +159,6 @@ void SwXMLImport::SetStatistics( } } - if( 255 == nTokens ) - aDocStat.bModified = sal_False; if( nTokens ) pDoc->SetDocStat( aDocStat ); |