User: kz Date: 2008-03-05 17:05:39+0000 Modified: dba/dbaccess/source/core/dataaccess/documentdefinition.cxx
Log: INTEGRATION: CWS rptchart01_DEV300 (1.50.28); FILE MERGED 2008/03/05 09:11:49 oj 1.50.28.3: RESYNC: (1.53-1.54); FILE MERGED 2008/02/19 07:34:48 oj 1.50.28.2: RESYNC: (1.50-1.53); FILE MERGED 2008/02/13 07:45:37 oj 1.50.28.1: #i85225# impl new method File Changes: Directory: /dba/dbaccess/source/core/dataaccess/ ================================================ File [changed]: documentdefinition.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/documentdefinition.cxx?r1=1.54&r2=1.55 Delta lines: +10 -7 -------------------- --- documentdefinition.cxx 2008-02-26 14:37:48+0000 1.54 +++ documentdefinition.cxx 2008-03-05 17:05:36+0000 1.55 @@ -1096,6 +1096,15 @@ dispose(); } + else if ( aCommand.Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "storeOwn" ) ) ) + { + Reference<XEmbedPersist> xPersist(m_xEmbeddedObject,UNO_QUERY); + if ( xPersist.is() ) + { + xPersist->storeOwn(); + notifyDataSourceModified(); + } + } else if ( aCommand.Name.compareToAscii( "shutdown" ) == 0 ) { bool bClose = prepareClose(); @@ -1407,13 +1416,7 @@ } } - ::osl::MutexGuard aGuard(m_aMutex); - Reference<XEmbedPersist> xPersist(m_xEmbeddedObject,UNO_QUERY); - if ( xPersist.is() ) - { - xPersist->storeOwn(); - notifyDataSourceModified(); - } + } catch(Exception&) { --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
