From 8f4248d9c35c3e8b7d09d65065c7b7e1d8463085 Mon Sep 17 00:00:00 2001 From: sukoi26 Date: Sun, 22 Jul 2018 18:44:31 +0200 Subject: [PATCH] change SheetFormatPr change "defaultRowHeight" not optional --- source/detail/serialization/xlsx_producer.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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()) {