aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/pdf/PDFGoToRemote.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/apache/fop/pdf/PDFGoToRemote.java')
-rw-r--r--src/org/apache/fop/pdf/PDFGoToRemote.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/apache/fop/pdf/PDFGoToRemote.java b/src/org/apache/fop/pdf/PDFGoToRemote.java
index 917aa4380..9164186f2 100644
--- a/src/org/apache/fop/pdf/PDFGoToRemote.java
+++ b/src/org/apache/fop/pdf/PDFGoToRemote.java
@@ -88,14 +88,14 @@ public class PDFGoToRemote extends PDFAction {
*
* @return the PDF string
*/
- public String toPDF() {
+ public byte[] toPDF() {
String p = new String(this.number + " " + this.generation +
" obj\n" +
"<<\n/S /GoToR\n" +
"/F " + pdfFileSpec.referencePDF() + "\n" +
"/D [ 0 /XYZ null null null ]" +
" \n>>\nendobj\n");
- return p;
+ return p.getBytes();
}