GridCraft: use shared XLS validation operator type

This commit is contained in:
Dylan M. Taylor
2026-11-12 05:24:28 +00:00
parent 0752f3181b
commit 3ba4945e72
+7 -7
View File
@@ -286,13 +286,13 @@ fn validation_of(v: &x::DataValidation) -> Option<Validation> {
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,