diff options
author | Daniel Vogelheim <dvo@openoffice.org> | 2001-06-29 20:07:26 +0000 |
---|---|---|
committer | Daniel Vogelheim <dvo@openoffice.org> | 2001-06-29 20:07:26 +0000 |
commit | f4983559bde7e92cc93ddaf79650db9aabc15019 (patch) | |
tree | fb2a4107a2c056882b68f14fda364b2e14e142b3 /xmloff/source/style/shdwdhdl.cxx | |
parent | 5e7951a2d8e80d1353ee51be3c0129e24841e1ce (diff) |
#86004# changes sXML_* strings to XML_* tokens
Diffstat (limited to 'xmloff/source/style/shdwdhdl.cxx')
-rw-r--r-- | xmloff/source/style/shdwdhdl.cxx | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/xmloff/source/style/shdwdhdl.cxx b/xmloff/source/style/shdwdhdl.cxx index 5dccfe18436d..f642ad7e1c51 100644 --- a/xmloff/source/style/shdwdhdl.cxx +++ b/xmloff/source/style/shdwdhdl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: shdwdhdl.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 @@ -73,12 +73,13 @@ // -- -#ifndef _XMLOFF_XMLKYWD_HXX -#include <xmlkywd.hxx> +#ifndef _XMLOFF_XMLTOKEN_HXX +#include <xmltoken.hxx> #endif using namespace ::rtl; using namespace ::com::sun::star::uno; +using namespace ::xmloff::token; /////////////////////////////////////////////////////////////////////////////// // @@ -94,7 +95,7 @@ sal_Bool XMLShadowedPropHdl::importXML( const OUString& rStrImpValue, Any& rValu { sal_Bool bRet = sal_False; - sal_Bool bValue = rStrImpValue.compareToAscii( sXML_none ) != 0; + sal_Bool bValue = IsXMLToken( rStrImpValue, XML_NONE ); rValue <<= sal_Bool(bValue); bRet = sal_True; @@ -114,7 +115,7 @@ sal_Bool XMLShadowedPropHdl::exportXML( OUString& rStrExpValue, const Any& rValu } else { - rStrExpValue = OUString( RTL_CONSTASCII_USTRINGPARAM( sXML_none ) ); + rStrExpValue = GetXMLToken( XML_NONE ); } bRet = sal_True; |