diff options
Diffstat (limited to 'src/java/org/apache/fop/fo/pagination')
-rw-r--r-- | src/java/org/apache/fop/fo/pagination/Region.java | 2 | ||||
-rw-r--r-- | src/java/org/apache/fop/fo/pagination/SimplePageMaster.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/fo/pagination/Region.java b/src/java/org/apache/fop/fo/pagination/Region.java index 10079df20..28d60211d 100644 --- a/src/java/org/apache/fop/fo/pagination/Region.java +++ b/src/java/org/apache/fop/fo/pagination/Region.java @@ -195,7 +195,7 @@ public abstract class Region extends FObj { */ protected void setRegionPosition(RegionReference r, Rectangle2D absRegVPRect) { FODimension reldims = new FODimension(0, 0); - r.setCTM(propMgr.getCTMandRelDims(absRegVPRect, reldims)); + r.setCTM(CTM.getCTMandRelDims(propMgr, absRegVPRect, reldims)); } /** diff --git a/src/java/org/apache/fop/fo/pagination/SimplePageMaster.java b/src/java/org/apache/fop/fo/pagination/SimplePageMaster.java index 2d73df727..44eb03717 100644 --- a/src/java/org/apache/fop/fo/pagination/SimplePageMaster.java +++ b/src/java/org/apache/fop/fo/pagination/SimplePageMaster.java @@ -149,7 +149,7 @@ public class SimplePageMaster extends FObj { // Set up the CTM on the page reference area based on writing-mode // and reference-orientation FODimension reldims = new FODimension(0, 0); - CTM pageCTM = propMgr.getCTMandRelDims(pageRefRect, reldims); + CTM pageCTM = CTM.getCTMandRelDims(propMgr, pageRefRect, reldims); // Create a RegionViewport/ reference area pair for each page region |