diff options
Diffstat (limited to 'xmloff/source/text/XMLLineNumberingSeparatorImportContext.cxx')
-rw-r--r-- | xmloff/source/text/XMLLineNumberingSeparatorImportContext.cxx | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/xmloff/source/text/XMLLineNumberingSeparatorImportContext.cxx b/xmloff/source/text/XMLLineNumberingSeparatorImportContext.cxx index 4de76d8a7868..f159f6f02d35 100644 --- a/xmloff/source/text/XMLLineNumberingSeparatorImportContext.cxx +++ b/xmloff/source/text/XMLLineNumberingSeparatorImportContext.cxx @@ -2,9 +2,9 @@ * * $RCSfile: XMLLineNumberingSeparatorImportContext.cxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: dvo $ $Date: 2000-12-11 19:14:26 $ + * last change: $Author: dvo $ $Date: 2001-06-29 21:07:22 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -79,8 +79,8 @@ #include "xmlnmspe.hxx" #endif -#ifndef _XMLOFF_XMLKYWD_HXX -#include "xmlkywd.hxx" +#ifndef _XMLOFF_XMLTOKEN_HXX +#include "xmltoken.hxx" #endif #ifndef _XMLOFF_XMLUCONV_HXX @@ -93,6 +93,8 @@ using namespace ::com::sun::star::uno; using ::com::sun::star::xml::sax::XAttributeList; using ::rtl::OUString; using ::rtl::OUStringBuffer; +using ::xmloff::token::IsXMLToken; +using ::xmloff::token::XML_INCREMENT; TYPEINIT1( XMLLineNumberingSeparatorImportContext, SvXMLImportContext ); @@ -121,7 +123,7 @@ void XMLLineNumberingSeparatorImportContext::StartElement( GetKeyByAttrName( xAttrList->getNameByIndex(i), &sLocalName ); if ( (nPrefix == XML_NAMESPACE_TEXT) && - sLocalName.equalsAsciiL(sXML_increment, sizeof(sXML_increment)-1)) + IsXMLToken(sLocalName, XML_INCREMENT) ) { sal_Int32 nTmp; if (SvXMLUnitConverter::convertNumber( |