Commit f0432281 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@48952 954022d7-b5bf-4e40-9824-e11837661b57
parent 46457e5e
...@@ -1508,14 +1508,14 @@ CBlipFill.prototype = ...@@ -1508,14 +1508,14 @@ CBlipFill.prototype =
if(flag) if(flag)
{ {
var string_to_write = getFullImageSrc(this.RasterImageId); var string_to_write = getFullImageSrc(this.RasterImageId);
if(string_to_write.indexOf(documentOrigin) !== 0 /*if(string_to_write.indexOf(documentOrigin) !== 0
&& string_to_write.indexOf("http:") !== 0 && string_to_write.indexOf("http:") !== 0
&& string_to_write.indexOf("https:") !== 0 && string_to_write.indexOf("https:") !== 0
&& string_to_write.indexOf("ftp:") !== 0 && string_to_write.indexOf("ftp:") !== 0
&& string_to_write.indexOf("data:") !== 0) && string_to_write.indexOf("data:") !== 0)
{ {
string_to_write = documentOrigin + string_to_write; string_to_write = documentOrigin + string_to_write;
} } */
Writer.WriteString2(string_to_write); Writer.WriteString2(string_to_write);
} }
...@@ -1547,10 +1547,10 @@ CBlipFill.prototype = ...@@ -1547,10 +1547,10 @@ CBlipFill.prototype =
else else
this.RasterImageId = imageId; this.RasterImageId = imageId;
if(typeof this.RasterImageId === "string" && isRealObject(Reader.oImages)) /*if(typeof this.RasterImageId === "string" && isRealObject(Reader.oImages))
{ {
editor.WordControl.m_oLogicDocument.DrawingObjects.urlMap.push(this.RasterImageId); editor.WordControl.m_oLogicDocument.DrawingObjects.urlMap.push(this.RasterImageId);
} } */
} }
flag = Reader.GetBool(); flag = Reader.GetBool();
......
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