Skip to content

Commit 4496899

Browse files
committed
Fix autoport issue
DEVSIX-1195
1 parent fff6c70 commit 4496899

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layout/src/main/java/com/itextpdf/layout/renderer/AbstractRenderer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,7 @@ protected Float retrieveWidth(float parentBoxWidth) {
10221022
width -= calculatePaddingBorderWidth(this);
10231023
}
10241024

1025-
return width != null ? Math.max(0, (float) width) : null;
1025+
return width != null ? (Float) Math.max(0, (float) width) : null;
10261026
}
10271027

10281028
/**

0 commit comments

Comments
 (0)