From f4983559bde7e92cc93ddaf79650db9aabc15019 Mon Sep 17 00:00:00 2001
From: Daniel Vogelheim <dvo@openoffice.org>
Date: Fri, 29 Jun 2001 20:07:26 +0000
Subject: #86004# changes sXML_* strings to XML_* tokens

---
 xmloff/source/style/XMLFontStylesContext.cxx | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

(limited to 'xmloff/source/style/XMLFontStylesContext.cxx')

diff --git a/xmloff/source/style/XMLFontStylesContext.cxx b/xmloff/source/style/XMLFontStylesContext.cxx
index 6285002a3815..3ba4276163b0 100644
--- a/xmloff/source/style/XMLFontStylesContext.cxx
+++ b/xmloff/source/style/XMLFontStylesContext.cxx
@@ -2,9 +2,9 @@
  *
  *  $RCSfile: XMLFontStylesContext.cxx,v $
  *
- *  $Revision: 1.3 $
+ *  $Revision: 1.4 $
  *
- *  last change: $Author: dvo $ $Date: 2001-06-15 17:13:30 $
+ *  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
@@ -72,8 +72,8 @@
 #ifndef _XMLOFF_XMLNMSPE_HXX
 #include "xmlnmspe.hxx"
 #endif
-#ifndef _XMLOFF_XMLKYWD_HXX
-#include "xmlkywd.hxx"
+#ifndef _XMLOFF_XMLTOKEN_HXX
+#include "xmltoken.hxx"
 #endif
 #ifndef _XMLOFF_PROPERTYHANDLER_FONTTYPES_HXX
 #include "fonthdl.hxx"
@@ -99,6 +99,7 @@ using namespace ::com::sun::star::lang;
 using namespace ::com::sun::star::awt;
 using namespace ::xmloff::token;
 
+
 #define XML_STYLE_FAMILY_FONT 1
 
 enum XMLFontStyleAttrTokens
@@ -269,7 +270,7 @@ SvXMLStyleContext *XMLFontStylesContext::CreateStyleChildContext(
 {
     SvXMLStyleContext *pStyle;
     if( XML_NAMESPACE_STYLE == nPrefix &&
-        rLocalName.equalsAsciiL( sXML_font_decl, sizeof(sXML_font_decl)-1 ) )
+        IsXMLToken( rLocalName, XML_FONT_DECL ) )
     {
         pStyle = new XMLFontStyleContext_Impl( GetImport(), nPrefix,
                                                rLocalName, xAttrList, *this );
-- 
cgit