[Libreoffice-commits] core.git: Branch 'feature/fixes22' - sw/source
László Németh
laszlo.nemeth at collabora.com
Thu Jun 2 07:12:59 UTC 2016
sw/source/core/doc/DocumentStateManager.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 1d776d6db31c741afc810056fceef6d98029e90e
Author: László Németh <laszlo.nemeth at 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 );
More information about the Libreoffice-commits
mailing list