Commit 30237cc7 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51143 954022d7-b5bf-4e40-9824-e11837661b57
parent 618126fd
...@@ -2722,7 +2722,7 @@ CUniFill.prototype = ...@@ -2722,7 +2722,7 @@ CUniFill.prototype =
return RGBA; return RGBA;
} }
if (this.fill.type = FILL_TYPE_PATT) if (this.fill.type == FILL_TYPE_PATT)
{ {
return this.fill.fgClr.RGBA; return this.fill.fgClr.RGBA;
} }
......
...@@ -1788,7 +1788,7 @@ CUniFill.prototype = ...@@ -1788,7 +1788,7 @@ CUniFill.prototype =
return RGBA; return RGBA;
} }
if (this.fill.type = FILL_TYPE_PATT) if (this.fill.type == FILL_TYPE_PATT)
{ {
return this.fill.fgClr.RGBA; return this.fill.fgClr.RGBA;
} }
......
...@@ -1261,8 +1261,8 @@ CGraphicFrame.prototype = ...@@ -1261,8 +1261,8 @@ CGraphicFrame.prototype =
if(layoutShapeStyle && layoutShapeStyle.TextPr && layoutShapeStyle.TextPr.unifill) if(layoutShapeStyle && layoutShapeStyle.TextPr && layoutShapeStyle.TextPr.unifill)
{ {
layoutShapeStyle.unifill.calculate(theme, this.parent, layout, master, {R:0, G:0, B:0, A:0}); layoutShapeStyle.TextPr.unifill.calculate(theme, this.parent, layout, master, {R:0, G:0, B:0, A:0});
var _rgba = layoutShapeStyle.unifill.getRGBAColor(); var _rgba = layoutShapeStyle.TextPr.unifill.getRGBAColor();
layoutShapeStyle.TextPr.Color = new CDocumentColor(_rgba.R, _rgba.G, _rgba.B); layoutShapeStyle.TextPr.Color = new CDocumentColor(_rgba.R, _rgba.G, _rgba.B);
} }
} }
......
...@@ -44,6 +44,11 @@ COverlay.prototype = ...@@ -44,6 +44,11 @@ COverlay.prototype =
if (null == this.m_oContext) if (null == this.m_oContext)
{ {
this.m_oContext = this.m_oControl.HtmlElement.getContext('2d'); this.m_oContext = this.m_oControl.HtmlElement.getContext('2d');
this.m_oContext.imageSmoothingEnabled = false;
this.m_oContext.mozImageSmoothingEnabled = false;
this.m_oContext.oImageSmoothingEnabled = false;
this.m_oContext.webkitImageSmoothingEnabled = false;
} }
this.m_oContext.beginPath(); this.m_oContext.beginPath();
......
...@@ -1800,7 +1800,7 @@ CUniFill.prototype = ...@@ -1800,7 +1800,7 @@ CUniFill.prototype =
return RGBA; return RGBA;
} }
if (this.fill.type = FILL_TYPE_PATT) if (this.fill.type == FILL_TYPE_PATT)
{ {
return this.fill.fgClr.RGBA; return this.fill.fgClr.RGBA;
} }
......
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