Tag: cws_src680_oj14 User: oj Date: 06/03/19 23:51:01 Modified: /dba/dbaccess/source/core/dataaccess/ documentcontainer.cxx
Log: use MimeConfigurationHelper::GetSequenceClassID instead of ODocumentDefinition::getDefaultDocumentTypeClassId 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.16&r2=1.16.4.1 Delta lines: +10 -5 -------------------- --- documentcontainer.cxx 21 Dec 2005 13:35:43 -0000 1.16 +++ documentcontainer.cxx 20 Mar 2006 07:50:57 -0000 1.16.4.1 @@ -4,9 +4,9 @@ * * $RCSfile: documentcontainer.cxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.16.4.1 $ * - * last change: $Author: obo $ $Date: 2005/12/21 13:35:43 $ + * last change: $Author: oj $ $Date: 2006/03/20 07:50:57 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -72,7 +72,12 @@ #ifndef _DBA_COREDATAACCESS_DATASOURCE_HXX_ #include "datasource.hxx" #endif - +#ifndef _COMPHELPER_MIMECONFIGHELPER_HXX_ +#include <comphelper/mimeconfighelper.hxx> +#endif +#ifndef _SO_CLSIDS_HXX +#include <so3/clsids.hxx> +#endif using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; @@ -232,7 +237,7 @@ if ( ( aClassID.getLength() == 0 ) && ( 0 == sURL.getLength() ) ) // default the class id, if none is given // #i57097# / 2005-11-01 / [EMAIL PROTECTED] - aClassID = ODocumentDefinition::getDefaultDocumentTypeClassId(); + aClassID = MimeConfigurationHelper::GetSequenceClassID(SO3_SW_CLASSID); } ODefinitionContainer_Impl::Documents::iterator aFind = pItem->m_aDocumentMap.find(sName); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
