Commit f2315bc9 authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

Исправлен баг в работе функции Inc/Dec FontSize (баг 18937 reop).

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50926 954022d7-b5bf-4e40-9824-e11837661b57
parent ba9ecd6e
......@@ -5970,7 +5970,7 @@ Paragraph.prototype =
Item = this.Content[Pos];
if ( para_TextPr === Item.Type )
{
if ( undefined != typeof(Item.Value.FontSize) )
if ( undefined != Item.Value.FontSize )
Item.Set_FontSize( this.Internal_IncDecFontSize( bIncrease, Item.Value.FontSize ) );
else
Item.Set_FontSize( this.Internal_IncDecFontSize( bIncrease, StartTextPr.FontSize ) );
......@@ -6006,7 +6006,7 @@ Paragraph.prototype =
this.Set_ContentPos( Pos + 1, true, -1 );
// Выставляем настройки для символа параграфа
if ( undefined != typeof(this.TextPr.Value.FontSize) )
if ( undefined != this.TextPr.Value.FontSize )
this.TextPr.Set_FontSize( this.Internal_IncDecFontSize( bIncrease, this.TextPr.Value.FontSize ) );
else
this.TextPr.Set_FontSize( this.Internal_IncDecFontSize( bIncrease, StartTextPr.FontSize ) );
......
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