summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLCalculationSettingsContext.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/XMLCalculationSettingsContext.cxx
parent5e7951a2d8e80d1353ee51be3c0129e24841e1ce (diff)
#86004# changes sXML_* strings to XML_* tokens
Diffstat (limited to 'xmloff/source/text/XMLCalculationSettingsContext.cxx')
-rw-r--r--xmloff/source/text/XMLCalculationSettingsContext.cxx14
1 files changed, 6 insertions, 8 deletions
diff --git a/xmloff/source/text/XMLCalculationSettingsContext.cxx b/xmloff/source/text/XMLCalculationSettingsContext.cxx
index 6d733391844d..df52bbcb7b79 100644
--- a/xmloff/source/text/XMLCalculationSettingsContext.cxx
+++ b/xmloff/source/text/XMLCalculationSettingsContext.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: XMLCalculationSettingsContext.cxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: mtg $ $Date: 2001-03-30 15:00:43 $
+ * 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
@@ -77,11 +77,8 @@
#ifndef _XMLOFF_XMLNMSPE_HXX
#include "xmlnmspe.hxx"
#endif
-#ifndef _XMLOFF_XMLKYWD_HXX
-#include "xmlkywd.hxx"
-#endif
-#ifndef _XMLOFF_XMLKYWD_HXX
-#include "xmlkywd.hxx"
+#ifndef _XMLOFF_XMLTOKEN_HXX
+#include "xmltoken.hxx"
#endif
#ifndef _XMLOFF_XMLUCONV_HXX
#include "xmluconv.hxx"
@@ -92,6 +89,7 @@ using namespace ::rtl;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::text;
+using namespace ::xmloff::token;
XMLCalculationSettingsContext::XMLCalculationSettingsContext( SvXMLImport& rImport,
sal_uInt16 nPrefix,
@@ -112,7 +110,7 @@ XMLCalculationSettingsContext::XMLCalculationSettingsContext( SvXMLImport& rImpo
if (nPrefix == XML_NAMESPACE_TABLE)
{
- if (aLocalName.compareToAscii(sXML_null_year) == 0)
+ if ( IsXMLToken( aLocalName, XML_NULL_YEAR ) )
{
sal_Int32 nTemp;
GetImport().GetMM100UnitConverter().convertNumber(nTemp, sValue);