diff --git a/crates/xlsx/src/xls.rs b/crates/xlsx/src/xls.rs index f52d5b3a6..03f0b72a6 100644 --- a/crates/xlsx/src/xls.rs +++ b/crates/xlsx/src/xls.rs @@ -286,13 +286,13 @@ fn validation_of(v: &x::DataValidation) -> Option { ranges, kind, op: match v.operator { - x::ValidationOperator::NotBetween => CfOperator::NotBetween, - x::ValidationOperator::Equal => CfOperator::Equal, - x::ValidationOperator::NotEqual => CfOperator::NotEqual, - x::ValidationOperator::Greater => CfOperator::Greater, - x::ValidationOperator::Less => CfOperator::Less, - x::ValidationOperator::GreaterOrEqual => CfOperator::GreaterOrEqual, - x::ValidationOperator::LessOrEqual => CfOperator::LessOrEqual, + x::Operator::NotBetween => CfOperator::NotBetween, + x::Operator::Equal => CfOperator::Equal, + x::Operator::NotEqual => CfOperator::NotEqual, + x::Operator::Greater => CfOperator::Greater, + x::Operator::Less => CfOperator::Less, + x::Operator::GreaterOrEqual => CfOperator::GreaterOrEqual, + x::Operator::LessOrEqual => CfOperator::LessOrEqual, _ => CfOperator::Between, }, f1,