change SheetFormatPr

change "defaultRowHeight" not optional
This commit is contained in:
sukoi26 2018-07-22 18:44:31 +02:00 committed by GitHub
parent 7be7172ff5
commit 8f4248d9c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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())
{