diff options
Diffstat (limited to 'sw/source/filter/html/swhtml.cxx')
-rw-r--r-- | sw/source/filter/html/swhtml.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sw/source/filter/html/swhtml.cxx b/sw/source/filter/html/swhtml.cxx index 7d81018855be..9b4fac0e3d48 100644 --- a/sw/source/filter/html/swhtml.cxx +++ b/sw/source/filter/html/swhtml.cxx @@ -593,10 +593,13 @@ void SwHTMLParser::Continue( int nToken ) } m_bSetModEnabled = false; - if( m_pDoc->GetDocShell() && - (m_bSetModEnabled = m_pDoc->GetDocShell()->IsEnableSetModified()) ) + if( m_pDoc->GetDocShell() ) { - m_pDoc->GetDocShell()->EnableSetModified( false ); + m_bSetModEnabled = m_pDoc->GetDocShell()->IsEnableSetModified(); + if( m_bSetModEnabled ) + { + m_pDoc->GetDocShell()->EnableSetModified( false ); + } } // waehrend des einlesens kein OLE-Modified rufen |