Commit 6048407a authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix previous commit

parent 9ea04092
...@@ -416,9 +416,16 @@ ...@@ -416,9 +416,16 @@
} }
}; };
CGraphicObjectBase.prototype.getNvProps = function(){ CGraphicObjectBase.prototype.getUniNvProps = function(){
return this.nvSpPr || this.nvPicPr || this.nvGrpSpPr || this.nvGraphicFramePr || null; return this.nvSpPr || this.nvPicPr || this.nvGrpSpPr || this.nvGraphicFramePr || null;
}; };
CGraphicObjectBase.prototype.getNvProps = function(){
var oUniNvPr = this.getUniNvProps();
if(oUniNvPr){
return oUniNvPr.cNvPr;
}
return null;
};
CGraphicObjectBase.prototype.setTitle = function(sTitle){ CGraphicObjectBase.prototype.setTitle = function(sTitle){
var oNvPr = this.getNvProps(); var oNvPr = this.getNvProps();
......
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