summaryrefslogtreecommitdiff
path: root/xmloff/source/style/shadwhdl.cxx
diff options
context:
space:
mode:
authorDaniel Vogelheim <dvo@openoffice.org>2001-06-29 20:07:26 +0000
committerDaniel Vogelheim <dvo@openoffice.org>2001-06-29 20:07:26 +0000
commitf4983559bde7e92cc93ddaf79650db9aabc15019 (patch)
treefb2a4107a2c056882b68f14fda364b2e14e142b3 /xmloff/source/style/shadwhdl.cxx
parent5e7951a2d8e80d1353ee51be3c0129e24841e1ce (diff)
#86004# changes sXML_* strings to XML_* tokens
Diffstat (limited to 'xmloff/source/style/shadwhdl.cxx')
-rw-r--r--xmloff/source/style/shadwhdl.cxx13
1 files changed, 7 insertions, 6 deletions
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 <xmlkywd.hxx>
+#ifndef _XMLOFF_XMLTOKEN_HXX
+#include <xmltoken.hxx>
#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;
}