INTEGRATION: CWS chart2mst3 (1.22.6); FILE MERGED

2007/02/02 13:18:58 mav 1.22.6.1: #i72072# change the modified state after storing with connection to the storage
This commit is contained in:
Vladimir Glazounov
2007-05-22 18:35:00 +00:00
parent b3b2a3413d
commit b9a6821a5e

View File

@@ -4,9 +4,9 @@
*
* $RCSfile: embedobj.cxx,v $
*
* $Revision: 1.22 $
* $Revision: 1.23 $
*
* last change: $Author: vg $ $Date: 2006-11-01 18:19:51 $
* last change: $Author: vg $ $Date: 2007-05-22 19:35:00 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -671,15 +671,8 @@ void SAL_CALL OCommonEmbeddedObject::update()
throw embed::WrongStateException( ::rtl::OUString::createFromAscii( "The object has no persistence!\n" ),
uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ) );
if ( m_nUpdateMode == embed::EmbedUpdateModes::EXPLICIT_UPDATE )
{
// TODO: update view representation
}
else
{
// the object must be up to date
OSL_ENSURE( m_nUpdateMode == embed::EmbedUpdateModes::ALWAYS_UPDATE, "Unknown update mode!\n" );
}
PostEvent_Impl( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "OnVisAreaChanged" ) ),
uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ) );
}
//----------------------------------------------