From b9a6821a5e4a4936bfac0523b5559d2ed392a20b Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Tue, 22 May 2007 18:35:00 +0000 Subject: [PATCH] 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 --- embeddedobj/source/commonembedding/embedobj.cxx | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/embeddedobj/source/commonembedding/embedobj.cxx b/embeddedobj/source/commonembedding/embedobj.cxx index 4d72197fe1c4..6ef7f032d0a7 100644 --- a/embeddedobj/source/commonembedding/embedobj.cxx +++ b/embeddedobj/source/commonembedding/embedobj.cxx @@ -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) ) ); } //----------------------------------------------