sw/source/core/doc/DocumentStateManager.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 1d776d6db31c741afc810056fceef6d98029e90e Author: László Németh <laszlo.nem...@collabora.com> Date: Thu Jun 2 09:11:17 2016 +0200 Revert "sw::DocumentStateManager::SetModified: don't call the OLE link unconditionally" This reverts commit 5e8bc55b676116d55c3458cd799bdf4e3aebab44. diff --git a/sw/source/core/doc/DocumentStateManager.cxx b/sw/source/core/doc/DocumentStateManager.cxx index 575a010..ec6286a 100644 --- a/sw/source/core/doc/DocumentStateManager.cxx +++ b/sw/source/core/doc/DocumentStateManager.cxx @@ -40,10 +40,9 @@ DocumentStateManager::DocumentStateManager( SwDoc& i_rSwdoc ) : void DocumentStateManager::SetModified() { m_rDoc.GetDocumentLayoutManager().ClearSwLayouterEntries(); - bool bOldModified = mbModified; mbModified = true; m_rDoc.GetDocumentStatisticsManager().GetDocStat().bModified = true; - if( !bOldModified && m_rDoc.GetOle2Link().IsSet() ) + if( m_rDoc.GetOle2Link().IsSet() ) { mbInCallModified = true; m_rDoc.GetOle2Link().Call( true );
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits