summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLIndexBibliographyEntryContext.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/text/XMLIndexBibliographyEntryContext.cxx
parent5e7951a2d8e80d1353ee51be3c0129e24841e1ce (diff)
#86004# changes sXML_* strings to XML_* tokens
Diffstat (limited to 'xmloff/source/text/XMLIndexBibliographyEntryContext.cxx')
-rw-r--r--xmloff/source/text/XMLIndexBibliographyEntryContext.cxx14
1 files changed, 6 insertions, 8 deletions
diff --git a/xmloff/source/text/XMLIndexBibliographyEntryContext.cxx b/xmloff/source/text/XMLIndexBibliographyEntryContext.cxx
index 419f06331f09..c1c4452805f6 100644
--- a/xmloff/source/text/XMLIndexBibliographyEntryContext.cxx
+++ b/xmloff/source/text/XMLIndexBibliographyEntryContext.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: XMLIndexBibliographyEntryContext.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: dvo $ $Date: 2001-06-15 10:37:08 $
+ * last change: $Author: dvo $ $Date: 2001-06-29 21:07:21 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -88,8 +88,8 @@
#include "xmlnmspe.hxx"
#endif
-#ifndef _XMLOFF_XMLKYWD_HXX
-#include "xmlkywd.hxx"
+#ifndef _XMLOFF_XMLTOKEN_HXX
+#include "xmltoken.hxx"
#endif
#ifndef _XMLOFF_XMLUCONV_HXX
@@ -185,14 +185,12 @@ void XMLIndexBibliographyEntryContext::StartElement(
&sLocalName );
if (XML_NAMESPACE_TEXT == nPrefix)
{
- if (sLocalName.equalsAsciiL(sXML_style_name,
- sizeof(sXML_style_name)-1))
+ if ( IsXMLToken( sLocalName, XML_STYLE_NAME ) )
{
sCharStyleName = xAttrList->getValueByIndex(nAttr);
bCharStyleNameOK = sal_True;
}
- else if (sLocalName.equalsAsciiL(sXML_bibliography_data_field,
- sizeof(sXML_bibliography_data_field)-1))
+ else if ( IsXMLToken( sLocalName, XML_BIBLIOGRAPHY_DATA_FIELD ) )
{
sal_uInt16 nTmp;
if (SvXMLUnitConverter::convertEnum(