You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2018/01/26 22:19:18 UTC
svn commit: r1822358 -
/pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotationLine.java
Author: tilman
Date: Fri Jan 26 22:19:18 2018
New Revision: 1822358
URL: http://svn.apache.org/viewvc?rev=1822358&view=rev
Log:
PDFBOX-4083: leader line methods defaults are 0 and not -1
Modified:
pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotationLine.java
Modified: pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotationLine.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotationLine.java?rev=1822358&r1=1822357&r2=1822358&view=diff
==============================================================================
--- pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotationLine.java (original)
+++ pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotationLine.java Fri Jan 26 22:19:18 2018
@@ -343,7 +343,7 @@ public class PDAnnotationLine extends PD
*/
public float getLeaderLineLength()
{
- return this.getDictionary().getFloat("LL");
+ return this.getDictionary().getFloat("LL", 0);
}
/**
@@ -363,7 +363,7 @@ public class PDAnnotationLine extends PD
*/
public float getLeaderLineExtensionLength()
{
- return this.getDictionary().getFloat("LLE");
+ return this.getDictionary().getFloat("LLE", 0);
}
/**
@@ -383,7 +383,7 @@ public class PDAnnotationLine extends PD
*/
public float getLeaderLineOffsetLength()
{
- return this.getDictionary().getFloat("LLO");
+ return this.getDictionary().getFloat("LLO", 0);
}
/**