Skip to content

Commit 504117c

Browse files
yulian-gaponenkoLodrKumquat
authored andcommitted
Deprecated redundant field in ParagraphRenderer
DEVSIX-1858
1 parent fe11293 commit 504117c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ This file is part of the iText (R) project.
7878
*/
7979
public class ParagraphRenderer extends BlockRenderer {
8080

81+
@Deprecated
8182
protected float previousDescent = 0;
8283
protected List<LineRenderer> lines = null;
8384

@@ -181,6 +182,7 @@ public LayoutResult layout(LayoutContext layoutContext) {
181182
float lastYLine = layoutBox.getY() + layoutBox.getHeight();
182183
Leading leading = this.<Leading>getProperty(Property.LEADING);
183184

185+
float previousDescent = 0;
184186
float lastLineBottomLeadingIndent = 0;
185187
boolean onlyOverflowedFloatsLeft = false;
186188
List<IRenderer> inlineFloatsOverflowedToNextPage = new ArrayList<>();

0 commit comments

Comments
 (0)