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/XMLFontStylesContext.cxx | |
parent | 5e7951a2d8e80d1353ee51be3c0129e24841e1ce (diff) |
#86004# changes sXML_* strings to XML_* tokens
Diffstat (limited to 'xmloff/source/style/XMLFontStylesContext.cxx')
-rw-r--r-- | xmloff/source/style/XMLFontStylesContext.cxx | 11 |
1 files changed, 6 insertions, 5 deletions
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 ); |