mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
fix/bug51597
fix bug when document convert from odt to docx and docx to odt and after this document cells width will smaller then before convertation.
This commit is contained in:
@ -527,8 +527,10 @@ void odf_table_context::change_current_column_width(double width)
|
||||
else
|
||||
{
|
||||
double old_width = column_properties->attlist_.style_column_width_->get_value_unit(length::pt);
|
||||
if (old_width < width/* && width < impl_->odf_context_->page_layout_context()->current_page_width_*/ && old_width < 9)
|
||||
if (old_width < width/* && width < impl_->odf_context_->page_layout_context()->current_page_width_*/ && old_width < 5) // check bug 51597
|
||||
{
|
||||
column_properties->attlist_.style_column_width_ = length_;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user