diff --git a/crates/xlsx/src/styles.rs b/crates/xlsx/src/styles.rs index 49ef72ca5..42a3853da 100644 --- a/crates/xlsx/src/styles.rs +++ b/crates/xlsx/src/styles.rs @@ -716,12 +716,12 @@ pub fn write_styles(wb: &Workbook, dxfs: &[Style], extra_fmts: &[String]) -> (St if let Some(a) = alignment_xml(&d.align) { dx.push_str(&a); } - if st.protection || d.protection != def.protection { - let _ = write!(dx, "