X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Pman.Gnumeric.js;h=302f2851c3f18c5dca3e3df71f8ab8c659fe4696;hb=0cb603ff44fe16a664c6077e64c2c35617eca780;hp=e56937ad8c80f300da2f0866cee1cbc9d1089366;hpb=aef40fe522b01ef5db35f6d70b0849a06506a749;p=Pman.Core diff --git a/Pman.Gnumeric.js b/Pman.Gnumeric.js index e56937ad..302f2851 100644 --- a/Pman.Gnumeric.js +++ b/Pman.Gnumeric.js @@ -1217,7 +1217,7 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, { soi.appendChild(content); objs.appendChild(soi); - var godoc = this.sheet.getElementsByTagNameNS('*','GODoc')[0]; + var godoc = this.doc.getElementsByTagNameNS('*','GODoc')[0]; var goimage = this.doc.createElement('GOImage'); goimage.setAttribute('image-type', type ? type : 'jpeg');