From f4983559bde7e92cc93ddaf79650db9aabc15019 Mon Sep 17 00:00:00 2001 From: Daniel Vogelheim Date: Fri, 29 Jun 2001 20:07:26 +0000 Subject: #86004# changes sXML_* strings to XML_* tokens --- xmloff/source/draw/layerimp.cxx | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'xmloff/source/draw/layerimp.cxx') diff --git a/xmloff/source/draw/layerimp.cxx b/xmloff/source/draw/layerimp.cxx index 47be200c355d..d5082ea7ecd1 100644 --- a/xmloff/source/draw/layerimp.cxx +++ b/xmloff/source/draw/layerimp.cxx @@ -2,9 +2,9 @@ * * $RCSfile: layerimp.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: cl $ $Date: 2001-05-11 07:38:35 $ + * last change: $Author: dvo $ $Date: 2001-06-29 21:07:13 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -78,7 +78,9 @@ #include #endif -#include "xmlkywd.hxx" +#ifndef _XMLOFF_XMLTOKEN_HXX +#include "xmltoken.hxx" +#endif #ifndef _XMLOFF_XMLIMP_HXX #include "xmlimp.hxx" @@ -111,6 +113,9 @@ using namespace ::com::sun::star::drawing; using namespace ::com::sun::star::beans; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::container; +using ::xmloff::token::IsXMLToken; +using ::xmloff::token::XML_NAME; + TYPEINIT1( SdXMLLayerSetContext, SvXMLImportContext ); @@ -145,7 +150,7 @@ SvXMLImportContext * SdXMLLayerSetContext::CreateChildContext( USHORT nPrefix, c { const OUString sValue( xAttrList->getValueByIndex( i ) ); - if( aLocalName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( sXML_name ) ) ) + if( IsXMLToken( aLocalName, XML_NAME ) ) { aName = sValue; } -- cgit