diff options
author | Rüdiger Timm <rt@openoffice.org> | 2006-02-09 12:37:01 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2006-02-09 12:37:01 +0000 |
commit | b02489faea987d1fb4c4fc2358287600f72a5bd2 (patch) | |
tree | 2f67a4cfa5f8ebfa869243d7e04a5e57a39bc3aa /embedserv | |
parent | 10a254de3c7f8e0617476e19d83b3b4f94f0c7c4 (diff) |
INTEGRATION: CWS rtfpp2 (1.14.12); FILE MERGED
2006/02/06 16:30:39 mba 1.14.12.1: #128676#: superfluous notification of DataChanged after saving
Diffstat (limited to 'embedserv')
-rwxr-xr-x | embedserv/source/embed/ed_ioleobject.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/embedserv/source/embed/ed_ioleobject.cxx b/embedserv/source/embed/ed_ioleobject.cxx index 4eaa781180cd..aab8d04ed37b 100755 --- a/embedserv/source/embed/ed_ioleobject.cxx +++ b/embedserv/source/embed/ed_ioleobject.cxx @@ -4,9 +4,9 @@ * * $RCSfile: ed_ioleobject.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: rt $ $Date: 2005-09-08 18:52:03 $ + * last change: $Author: rt $ $Date: 2006-02-09 13:37:01 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -377,7 +377,7 @@ HRESULT EmbedDocument_Impl::SaveObject() iAdvise->second->OnSave( ); } - notify(); + notify( false ); return hr; } @@ -394,7 +394,7 @@ HRESULT EmbedDocument_Impl::ShowObject() } -void EmbedDocument_Impl::notify() +void EmbedDocument_Impl::notify( bool bDataChanged ) { for ( AdviseSinkHashMapIterator iAdvise = m_aAdviseHashMap.begin(); @@ -403,7 +403,7 @@ void EmbedDocument_Impl::notify() if ( iAdvise->second ) iAdvise->second->OnViewChange( DVASPECT_CONTENT, -1 ); - if ( m_pDAdviseHolder ) + if ( m_pDAdviseHolder && bDataChanged ) m_pDAdviseHolder->SendOnDataChange( (IDataObject*)this, 0, 0 ); } |