Commit 5d105d50 authored by Sergey Luzyanin's avatar Sergey Luzyanin

delete fWidth

parent ebdef8f5
...@@ -635,7 +635,6 @@ baseEditorsApi.prototype._uploadCallback = function(error, files) { ...@@ -635,7 +635,6 @@ baseEditorsApi.prototype._uploadCallback = function(error, files) {
var nWidthPix = oPluginData.getAttribute("widthPix"); var nWidthPix = oPluginData.getAttribute("widthPix");
var nHeightPix = oPluginData.getAttribute("heightPix"); var nHeightPix = oPluginData.getAttribute("heightPix");
var sData = oPluginData.getAttribute("data"); var sData = oPluginData.getAttribute("data");
var fWidth
if(typeof sImgSrc === "string" && sImgSrc.length > 0 && typeof sData === "string" if(typeof sImgSrc === "string" && sImgSrc.length > 0 && typeof sData === "string"
&& oOleObject && AscFormat.isRealNumber(nWidthPix) && AscFormat.isRealNumber(nHeightPix)){ && oOleObject && AscFormat.isRealNumber(nWidthPix) && AscFormat.isRealNumber(nHeightPix)){
this.asc_checkImageUrlAndAction(sImgSrc, function(oImage){oThis.asc_editOleObjectAction(bResize, oOleObject, AscCommon.g_oDocumentUrls.getImageLocal(oImage.src), sData, nWidthPix, nHeightPix);}); this.asc_checkImageUrlAndAction(sImgSrc, function(oImage){oThis.asc_editOleObjectAction(bResize, oOleObject, AscCommon.g_oDocumentUrls.getImageLocal(oImage.src), sData, nWidthPix, nHeightPix);});
......
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