summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/XMLDetectiveContext.cxx
diff options
context:
space:
mode:
authorSascha Ballach <sab@openoffice.org>2002-05-03 12:30:48 +0000
committerSascha Ballach <sab@openoffice.org>2002-05-03 12:30:48 +0000
commit746622501cb6e35c90fbf1f21fc671ac1ce372f2 (patch)
tree775264af48b640821a88e17b79b1c673ff903242 /sc/source/filter/xml/XMLDetectiveContext.cxx
parent05cab0acaca52f231f43410dc61340094a3e8dc6 (diff)
#99079#; read the attribute marked-invlaid
Diffstat (limited to 'sc/source/filter/xml/XMLDetectiveContext.cxx')
-rw-r--r--sc/source/filter/xml/XMLDetectiveContext.cxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/sc/source/filter/xml/XMLDetectiveContext.cxx b/sc/source/filter/xml/XMLDetectiveContext.cxx
index a775d84f35e0..97503a1d0230 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.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: hr $ $Date: 2002-02-08 15:50:07 $
+ * last change: $Author: sab $ $Date: 2002-05-03 13:30:48 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -215,6 +215,12 @@ ScXMLDetectiveHighlightedContext::ScXMLDetectiveHighlightedContext(
case XML_TOK_DETECTIVE_HIGHLIGHTED_ATTR_CONTAINS_ERROR:
aDetectiveObj.bHasError = IsXMLToken(sValue, XML_TRUE);
break;
+ case XML_TOK_DETECTIVE_HIGHLIGHTED_ATTR_MARKED_INVALID:
+ {
+ if (IsXMLToken(sValue, XML_TRUE))
+ aDetectiveObj.eObjType = SC_DETOBJ_CIRCLE;
+ }
+ break;
}
}
}
@@ -239,6 +245,7 @@ void ScXMLDetectiveHighlightedContext::EndElement()
case SC_DETOBJ_TOOTHERTAB:
break;
case SC_DETOBJ_FROMOTHERTAB:
+ case SC_DETOBJ_CIRCLE:
bValid = sal_True;
break;
default: