diff --git a/framework/test/typecfg/xml2xcd.cxx b/framework/test/typecfg/xml2xcd.cxx index 2282129fed0d..48ac2a0854dc 100644 --- a/framework/test/typecfg/xml2xcd.cxx +++ b/framework/test/typecfg/xml2xcd.cxx @@ -1,35 +1,31 @@ /************************************************************************* * - * OpenOffice.org - a multi-platform office productivity suite + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * - * $RCSfile: xml2xcd.cxx,v $ + * Copyright 2008 by Sun Microsystems, Inc. * - * $Revision: 1.11 $ + * OpenOffice.org - a multi-platform office productivity suite * - * last change: $Author: obo $ $Date: 2006-09-16 14:33:43 $ + * $RCSfile: xml2xcd.cxx,v $ * - * The Contents of this file are made available subject to - * the terms of GNU Lesser General Public License Version 2.1. + * $Revision: 1.12 $ * + * This file is part of OpenOffice.org. * - * GNU Lesser General Public License Version 2.1 - * ============================================= - * Copyright 2005 by Sun Microsystems, Inc. - * 901 San Antonio Road, Palo Alto, CA 94303, USA + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License version 2.1, as published by the Free Software Foundation. + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * + * for a copy of the LGPLv3 License. * ************************************************************************/ @@ -44,62 +40,26 @@ #include #include #include - -#ifndef __FRAMEWORK_CLASSES_SERVICEMANAGER_HXX_ #include -#endif - -#ifndef __FRAMEWORK_CLASSES_FILTERCACHE_HXX_ #include -#endif - -#ifndef __FRAMEWORK_MACROS_GENERIC_HXX_ #include -#endif - -#ifndef __FRAMEWORK_MACROS_DEBUG_HXX_ #include -#endif - -#ifndef __FRAMEWORK_SERVICES_H_ #include -#endif - -#ifndef __FRAMEWORK_FILTERFLAGS_H_ #include -#endif //_________________________________________________________________________________________________________________ // interface includes //_________________________________________________________________________________________________________________ - -#ifndef _COM_SUN_STAR_LANG_XMULTISERVICEFACTORY_HPP_ #include -#endif //_________________________________________________________________________________________________________________ // other includes //_________________________________________________________________________________________________________________ - -#ifndef _COMPHELPER_PROCESSFACTORY_HXX_ #include -#endif - -#ifndef _UNOTOOLS_PROCESSFACTORY_HXX_ #include -#endif - -#ifndef _VOS_PROCESS_HXX_ #include -#endif - -#ifndef _RTL_USTRING_ #include -#endif - -#ifndef _RTL_USTRBUF_HXX_ #include -#endif #include #include @@ -563,68 +523,72 @@ void XCDGenerator::impl_generateXCD() void XCDGenerator::impl_generateCopyright() { m_aData.sBufferStandard.appendAscii( "\n" ); - * OpenOffice.org - a multi-platform office productivity suite - * - * $RCSfile: xml2xcd.cxx,v $ - * - * $Revision: 1.11 $ - * - * last change: $Author: obo $ $Date: 2006-09-16 14:33:43 $ - * - * The Contents of this file are made available subject to - * the terms of GNU Lesser General Public License Version 2.1. - * - * - * GNU Lesser General Public License Version 2.1 - * ============================================= - * Copyright 2005 by Sun Microsystems, Inc. - * 901 San Antonio Road, Palo Alto, CA 94303, USA - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License version 2.1, as published by the Free Software Foundation. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA - * - * OpenOffice.org - a multi-platform office productivity suite - * - * $RCSfile: xml2xcd.cxx,v $ - * - * $Revision: 1.11 $ - * - * last change: $Author: obo $ $Date: 2006-09-16 14:33:43 $ - * - * The Contents of this file are made available subject to - * the terms of GNU Lesser General Public License Version 2.1. - * - * - * GNU Lesser General Public License Version 2.1 - * ============================================= - * Copyright 2005 by Sun Microsystems, Inc. - * 901 San Antonio Road, Palo Alto, CA 94303, USA - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License version 2.1, as published by the Free Software Foundation. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA - * + m_aData.sBufferStandard.appendAscii( "\n" ); + + if( m_aData.nVersionOutput >= DRAFT_SPLIT_VERSION ) + { + m_aData.sBufferAdditional.appendAscii( "\n" ); + m_aData.sBufferAdditional.appendAscii( "\n" ); + } +} + //***************************************************************************************************************** void XCDGenerator::impl_generateTypeTemplate() {