mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
Merge pull request 'fix/bug79432' (#616) from fix/bug79432 into release/v9.3.0
Reviewed-on: https://git.onlyoffice.com/ONLYOFFICE/core/pulls/616
This commit is contained in:
@ -592,12 +592,8 @@ void style_tab_stop::docx_convert(oox::docx_conversion_context & Context, bool c
|
||||
{
|
||||
current_tab_width_twips = PageWidthTwips - LeftPageMarginTwips - RightPageMarginTwips - margin_right;
|
||||
}
|
||||
else
|
||||
{
|
||||
current_tab_width_twips = PageWidthTwips - LeftPageMarginTwips - RightPageMarginTwips - margin_left - margin_right;
|
||||
}
|
||||
|
||||
if( tab_pos > current_tab_width_twips )
|
||||
if( tab_pos > current_tab_width_twips && current_tab_width_twips != 0.0 )
|
||||
{
|
||||
tab_pos = current_tab_width_twips;
|
||||
tab_pos -= 300;
|
||||
|
||||
Reference in New Issue
Block a user