Tag: cws_src680_titles01 User: oj Date: 2006/08/28 03:28:25 Modified: dba/dbaccess/source/core/dataaccess/documentdefinition.cxx
Log: #i45663# own module for forms 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&r2=1.36.4.1 Delta lines: +9 -3 ------------------- --- documentdefinition.cxx 20 Jun 2006 02:45:23 -0000 1.36 +++ documentdefinition.cxx 28 Aug 2006 10:28:22 -0000 1.36.4.1 @@ -4,9 +4,9 @@ * * $RCSfile: documentdefinition.cxx,v $ * - * $Revision: 1.36 $ + * $Revision: 1.36.4.1 $ * - * last change: $Author: hr $ $Date: 2006/06/20 02:45:23 $ + * last change: $Author: oj $ $Date: 2006/08/28 10:28:22 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -135,6 +135,9 @@ #ifndef _COM_SUN_STAR_UTIL_XCLOSEBROADCASTER_HPP_ #include <com/sun/star/util/XCloseBroadcaster.hpp> #endif +#ifndef _COM_SUN_STAR_FRAME_XMODULE_HPP_ +#include <com/sun/star/frame/XModule.hpp> +#endif #ifndef _COM_SUN_STAR_DATATRANSFER_DATAFLAVOR_HPP_ #include <com/sun/star/datatransfer/DataFlavor.hpp> #endif @@ -890,6 +893,9 @@ if ( !bOpenForMail ) { + Reference< XModule> xModule(xModel,UNO_QUERY); + if ( xModule.is() ) + xModule->setIdentifier(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.sdb.FormDesign"))); m_xEmbeddedObject->changeState(EmbedStates::ACTIVE); impl_onActivateEmbeddedObject( bOpenInDesign ); } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
