diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/xml/xmlcondformat.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sc/source/filter/xml/xmlcondformat.cxx b/sc/source/filter/xml/xmlcondformat.cxx index fa2d2f998fd9..ab71696ba18f 100644 --- a/sc/source/filter/xml/xmlcondformat.cxx +++ b/sc/source/filter/xml/xmlcondformat.cxx @@ -433,6 +433,14 @@ void GetConditionData(const rtl::OUString& rValue, ScConditionMode& eMode, rtl:: rExpr1 = ScXMLConditionHelper::getExpression( pStart, pEnd, ')'); eMode = SC_COND_DIRECT; } + else if(rValue.indexOf("is-error") == 0) + { + eMode = SC_COND_ERROR; + } + else if(rValue.indexOf("is-no-error") == 0) + { + eMode = SC_COND_NOERROR; + } else eMode = SC_COND_NONE; } |