summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/XMLDetectiveContext.cxx
diff options
context:
space:
mode:
authorSascha Ballach <sab@openoffice.org>2001-07-26 05:51:20 +0000
committerSascha Ballach <sab@openoffice.org>2001-07-26 05:51:20 +0000
commitc3586b2d782bcaff444bf4b05136fc25799ef4b8 (patch)
tree31fbb1d8c05da217b6414446f795d393ae6cf59b /sc/source/filter/xml/XMLDetectiveContext.cxx
parent16f02753ab3a231e0059a1cde2690325f60b6e59 (diff)
#90255#; remove xmlkywd.hxx
Diffstat (limited to 'sc/source/filter/xml/XMLDetectiveContext.cxx')
-rw-r--r--sc/source/filter/xml/XMLDetectiveContext.cxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/sc/source/filter/xml/XMLDetectiveContext.cxx b/sc/source/filter/xml/XMLDetectiveContext.cxx
index 20b3e869905e..f960d9522489 100644
--- a/sc/source/filter/xml/XMLDetectiveContext.cxx
+++ b/sc/source/filter/xml/XMLDetectiveContext.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: XMLDetectiveContext.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: sab $ $Date: 2000-12-19 18:32:39 $
+ * last change: $Author: sab $ $Date: 2001-07-26 06:51:19 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -74,8 +74,8 @@
#ifndef _XMLOFF_NMSPMAP_HXX
#include <xmloff/nmspmap.hxx>
#endif
-#ifndef _XMLOFF_XMLKYWD_HXX
-#include <xmloff/xmlkywd.hxx>
+#ifndef _XMLOFF_XMLTOKEN_HXX
+#include <xmloff/xmltoken.hxx>
#endif
#ifndef _XMLOFF_XMLUCONV_HXX
#include <xmloff/xmluconv.hxx>
@@ -95,6 +95,7 @@
using namespace ::rtl;
using namespace ::com::sun::star;
+using namespace xmloff::token;
//___________________________________________________________________
@@ -210,7 +211,7 @@ ScXMLDetectiveHighlightedContext::ScXMLDetectiveHighlightedContext(
aDetectiveObj.eObjType = ScXMLConverter::GetDetObjTypeFromString( sValue );
break;
case XML_TOK_DETECTIVE_HIGHLIGHTED_ATTR_CONTAINS_ERROR:
- aDetectiveObj.bHasError = (sValue.compareToAscii( sXML_true ) == 0);
+ aDetectiveObj.bHasError = IsXMLToken(sValue, XML_TRUE);
break;
}
}