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/style/shadwhdl.cxx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'xmloff/source/style/shadwhdl.cxx') diff --git a/xmloff/source/style/shadwhdl.cxx b/xmloff/source/style/shadwhdl.cxx index 6f6414384969..7d025f6e9bec 100644 --- a/xmloff/source/style/shadwhdl.cxx +++ b/xmloff/source/style/shadwhdl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: shadwhdl.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 17:07:05 $ + * last change: $Author: dvo $ $Date: 2001-06-29 21:07:17 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -81,12 +81,13 @@ #include "xmluconv.hxx" #endif -#ifndef _XMLOFF_XMLKYWD_HXX -#include +#ifndef _XMLOFF_XMLTOKEN_HXX +#include #endif using namespace ::rtl; using namespace ::com::sun::star; +using namespace ::xmloff::token; /////////////////////////////////////////////////////////////////////////////// // @@ -112,7 +113,7 @@ sal_Bool XMLShadowPropHdl::importXML( const OUString& rStrImpValue, uno::Any& rV while( aTokenEnum.getNextToken( aToken ) ) { - if( aToken.compareToAscii( sXML_none ) == 0 ) + if( IsXMLToken( aToken, XML_NONE ) ) { aShadow.Location = table::ShadowLocation_NONE; bRet = sal_True; @@ -197,7 +198,7 @@ sal_Bool XMLShadowPropHdl::exportXML( OUString& rStrExpValue, const uno::Any& rV break; case table::ShadowLocation_NONE: default: - rStrExpValue = OUString( RTL_CONSTASCII_USTRINGPARAM( sXML_none ) ); + rStrExpValue = GetXMLToken(XML_NONE); return sal_True; } -- cgit