pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msahy...@apache.org
Subject svn commit: r1688686 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/form/PDCheckbox.java
Date Wed, 01 Jul 2015 16:41:56 GMT
Author: msahyoun
Date: Wed Jul  1 16:41:56 2015
New Revision: 1688686

URL: http://svn.apache.org/r1688686
Log:
PDFBOX-2849: use setName method

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/form/PDCheckbox.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/form/PDCheckbox.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/form/PDCheckbox.java?rev=1688686&r1=1688685&r2=1688686&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/form/PDCheckbox.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/form/PDCheckbox.java
Wed Jul  1 16:41:56 2015
@@ -155,7 +155,7 @@ public final class PDCheckbox extends PD
         }
         else
         {
-            dictionary.setItem(COSName.DV, COSName.getPDFName(value));
+            dictionary.setName(COSName.DV, value);
         }
     }
 



Mime
View raw message