Tag: cws_src680_dba201 User: oj Date: 05/04/25 06:06:03 Modified: /dba/dbaccess/source/core/dataaccess/ documentcontainer.cxx
Log: #i47311# ask if copied doc is a template File Changes: Directory: /dba/dbaccess/source/core/dataaccess/ ================================================ File [changed]: documentcontainer.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/documentcontainer.cxx?r1=1.12&r2=1.12.20.1 Delta lines: +7 -4 ------------------- --- documentcontainer.cxx 23 Mar 2005 09:47:06 -0000 1.12 +++ documentcontainer.cxx 25 Apr 2005 13:06:00 -0000 1.12.20.1 @@ -2,9 +2,9 @@ * * $RCSfile: documentcontainer.cxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.12.20.1 $ * - * last change: $Author: vg $ $Date: 2005/03/23 09:47:06 $ + * last change: $Author: oj $ $Date: 2005/04/25 13:06:00 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -249,6 +249,9 @@ aCommand.Argument <<= aIni; xCopyFrom->execute(aCommand,-1,Reference< XCommandEnvironment >()); + Reference<XPropertySet> xProp(xCopyFrom,UNO_QUERY); + if ( xProp.is() && xProp->getPropertySetInfo().is() && xProp->getPropertySetInfo()->hasPropertyByName(PROPERTY_AS_TEMPLATE) ) + xProp->getPropertyValue(PROPERTY_AS_TEMPLATE) >>= bAsTemplate; } } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
