From 705d1cfad3b7d79b5cb2a35501b9fdff7db50b86 Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Tue, 3 Aug 2021 10:58:57 +0200 Subject: [PATCH] Remove useless assignment of `availableSpace` in the `src/core/xfa/template.js` file (issue 13829, 13835) --- src/core/xfa/template.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/core/xfa/template.js b/src/core/xfa/template.js index 21f7e59d5..0d336faff 100644 --- a/src/core/xfa/template.js +++ b/src/core/xfa/template.js @@ -2332,12 +2332,6 @@ class ExclGroup extends XFAObject { if (!checkDimensions(this, availableSpace)) { return HTMLResult.FAILURE; } - - availableSpace = { - width: this.w === "" ? availableSpace.width : this.w, - height: this.h === "" ? availableSpace.height : this.h, - }; - const filter = new Set(["field"]); if (this.layout.includes("row")) {