From c9c2faf0371facf08f4394ff53e085f37dc98c35 Mon Sep 17 00:00:00 2001
From: "Sergey.Luzyanin" <Sergey.Luzyanin@OnlyOffice.com>
Date: Wed, 9 Sep 2015 10:34:05 +0000
Subject: [PATCH] =?UTF-8?q?Bug=2030292=20-=20[Textart]=D0=9D=D0=B5=20?=
 =?UTF-8?q?=D0=BF=D1=80=D0=BE=D0=B8=D1=81=D1=85=D0=BE=D0=B4=D0=B8=D1=82=20?=
 =?UTF-8?q?=D0=BF=D1=80=D0=B8=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=B8=D0=B5=20?=
 =?UTF-8?q?Highlight=20Color=20=D0=BA=20=D1=82=D0=B5=D0=BA=D1=81=D1=82?=
 =?UTF-8?q?=D1=83=20=D0=B2=20Text=20Art?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@64583 954022d7-b5bf-4e40-9824-e11837661b57
---
 Word/Editor/Paragraph.js | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/Word/Editor/Paragraph.js b/Word/Editor/Paragraph.js
index 69c6214d0..85fe23426 100644
--- a/Word/Editor/Paragraph.js
+++ b/Word/Editor/Paragraph.js
@@ -1763,7 +1763,14 @@ Paragraph.prototype =
                 var Element = aHigh.Get_Next();
                 while ( null != Element )
                 {
-                    pGraphics.b_color1( Element.r, Element.g, Element.b, 255 );
+                    if(!pGraphics.set_fillColor)
+                    {
+                        pGraphics.b_color1( Element.r, Element.g, Element.b, 255 );
+                    }
+                    else
+                    {
+                        pGraphics.set_fillColor( Element.r, Element.g, Element.b);
+                    }
                     pGraphics.rect( Element.x0, Element.y0, Element.x1 - Element.x0, Element.y1 - Element.y0, Element.Additional2 );
                     pGraphics.df();
                     Element = aHigh.Get_Next();
-- 
2.30.9