diff --git a/source/detail/serialization/xlsx_producer.cpp b/source/detail/serialization/xlsx_producer.cpp index 5d854d7d..70949984 100644 --- a/source/detail/serialization/xlsx_producer.cpp +++ b/source/detail/serialization/xlsx_producer.cpp @@ -2351,11 +2351,9 @@ void xlsx_producer::write_worksheet(const relationship &rel) write_attribute("defaultColWidth", format_properties.default_column_width.get()); } - if (format_properties.default_row_height.is_set()) - { - write_attribute("defaultRowHeight", - format_properties.default_row_height.get()); - } + + write_attribute("defaultRowHeight", + format_properties.default_row_height); if (format_properties.dy_descent.is_set()) {