Commit 67acd105 authored by GoshaZotov's avatar GoshaZotov

+ previous

parent 22de378a
......@@ -7746,8 +7746,8 @@ PasteProcessor.prototype =
}
}
var sSrc = node.getAttribute("src");
if(isNaN(nWidth) || isNaN(nHeight) || !(typeof nWidth === "number") || !(typeof nHeight === "number")
|| nWidth === 0 || nHeight === 0)
if(sSrc && (isNaN(nWidth) || isNaN(nHeight) || !(typeof nWidth === "number") || !(typeof nHeight === "number")
|| nWidth === 0 || nHeight === 0))
{
var img_prop = new Asc.asc_CImgProperty();
img_prop.asc_putImageUrl(sSrc);
......
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