From e9388b9b48ca4e81e988dffdd21d664b01d6511c Mon Sep 17 00:00:00 2001 From: Christian Lippka Date: Sun, 4 Mar 2001 16:28:24 +0000 Subject: added root elements for content and style export --- sw/source/filter/xml/xmlimp.cxx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'sw/source/filter') diff --git a/sw/source/filter/xml/xmlimp.cxx b/sw/source/filter/xml/xmlimp.cxx index 3250cd6abb9c..71080a754efa 100644 --- a/sw/source/filter/xml/xmlimp.cxx +++ b/sw/source/filter/xml/xmlimp.cxx @@ -2,9 +2,9 @@ * * $RCSfile: xmlimp.cxx,v $ * - * $Revision: 1.21 $ + * $Revision: 1.22 $ * - * last change: $Author: dvo $ $Date: 2001-03-02 21:02:30 $ + * last change: $Author: cl $ $Date: 2001-03-04 17:28:24 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -297,7 +297,10 @@ SvXMLImportContext *SwXMLImport::CreateContext( SvXMLImportContext *pContext = 0; if( XML_NAMESPACE_OFFICE==nPrefix && - rLocalName.compareToAscii( sXML_document ) == 0 ) + ( 0 == rLocalName.compareToAscii(sXML_document) || + 0 == rLocalName.compareToAscii(sXML_document_meta) || + 0 == rLocalName.compareToAscii(sXML_document_styles) || + 0 == rLocalName.compareToAscii(sXML_document_content) )) pContext = new SwXMLDocContext_Impl( *this, nPrefix, rLocalName, xAttrList ); else -- cgit v1.2.3