Skip to content

Commit

Permalink
[bug] fix bug 71576
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyLuzyanin committed Nov 9, 2024
1 parent 730993b commit a0b481d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/Drawings/Format/Shape.js
Original file line number Diff line number Diff line change
Expand Up @@ -2245,7 +2245,7 @@
if (this.txXfrm) {
return this.checkTransformTextMatrixSmartArt(oMatrix, oContent, oBodyPr, bWordArtTransform, bIgnoreInsets);
}
let oInsets = this.getInsets({bIgnoreInsets: bIgnoreInsets});
let oInsets = this.getInsets({bIgnoreInsets: bIgnoreInsets, bodyPr: oBodyPr});
let l_ins = oInsets.lIns;
let t_ins = oInsets.tIns;
let r_ins = oInsets.rIns;
Expand Down Expand Up @@ -3834,7 +3834,7 @@
CShape.prototype.recalculateDocContent = function (oDocContent, oBodyPr) {
let nStartPage = this.Get_AbsolutePage ? this.Get_AbsolutePage() : 0;
let oRet = {w: 0, h: 0, contentH: 0};
let oInsets = this.getInsets({bIgnoreInsets: false});
let oInsets = this.getInsets({bIgnoreInsets: false, bodyPr: oBodyPr});
const oForm = this.isForm && this.isForm() ? this.getInnerForm() : null;
let l_ins = oInsets.lIns;
let t_ins = oInsets.tIns;
Expand Down

0 comments on commit a0b481d

Please sign in to comment.