From 3ba4945e723ce4db02bbf6baa6dca3ac6f84acec Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Thu, 12 Nov 2026 05:24:28 +0000 Subject: [PATCH] GridCraft: use shared XLS validation operator type --- crates/xlsx/src/xls.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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,