Tag: cws_src680_titles01 User: oj Date: 2006/08/28 03:49:41 Modified: dba/dbaccess/source/core/dataaccess/documentdefinition.cxx
Log: #i45663# own module for simple reports 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.36.4.1&r2=1.36.4.2 Delta lines: +8 -3 ------------------- --- documentdefinition.cxx 28 Aug 2006 10:28:22 -0000 1.36.4.1 +++ documentdefinition.cxx 28 Aug 2006 10:49:39 -0000 1.36.4.2 @@ -4,9 +4,9 @@ * * $RCSfile: documentdefinition.cxx,v $ * - * $Revision: 1.36.4.1 $ + * $Revision: 1.36.4.2 $ * - * last change: $Author: oj $ $Date: 2006/08/28 10:28:22 $ + * last change: $Author: oj $ $Date: 2006/08/28 10:49:39 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -895,7 +895,12 @@ { Reference< XModule> xModule(xModel,UNO_QUERY); if ( xModule.is() ) + { + if ( m_bForm ) xModule->setIdentifier(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.sdb.FormDesign"))); + else + xModule->setIdentifier(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.sdb.SimpleReportDesign"))); + } m_xEmbeddedObject->changeState(EmbedStates::ACTIVE); impl_onActivateEmbeddedObject( bOpenInDesign ); } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
