Commit 77e56f2e authored by Ilya Kirillov's avatar Ilya Kirillov

Fixed bug #33270.

parent 7d4f3730
...@@ -4246,7 +4246,7 @@ ParaRun.prototype.Recalculate_MinMaxContentWidth = function(MinMax) ...@@ -4246,7 +4246,7 @@ ParaRun.prototype.Recalculate_MinMaxContentWidth = function(MinMax)
} }
if ( Item.Width > nMinWidth ) if ( Item.Width > nMinWidth )
nMinWidth = Item.Width; nMinWidth = Item.Get_Width();
if ( nSpaceLen > 0 ) if ( nSpaceLen > 0 )
{ {
...@@ -4254,7 +4254,7 @@ ParaRun.prototype.Recalculate_MinMaxContentWidth = function(MinMax) ...@@ -4254,7 +4254,7 @@ ParaRun.prototype.Recalculate_MinMaxContentWidth = function(MinMax)
nSpaceLen = 0; nSpaceLen = 0;
} }
nCurMaxWidth += Item.Width; nCurMaxWidth += Item.Get_Width();
bCheckTextHeight = true; bCheckTextHeight = true;
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment