aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/pdf/PDFDestination.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/pdf/PDFDestination.java')
-rw-r--r--src/java/org/apache/fop/pdf/PDFDestination.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/java/org/apache/fop/pdf/PDFDestination.java b/src/java/org/apache/fop/pdf/PDFDestination.java
index eaf38449d..ced3ac497 100644
--- a/src/java/org/apache/fop/pdf/PDFDestination.java
+++ b/src/java/org/apache/fop/pdf/PDFDestination.java
@@ -55,15 +55,15 @@ public class PDFDestination extends PDFObject {
protected int output(OutputStream stream) throws IOException {
CountingOutputStream cout = new CountingOutputStream(stream);
Writer writer = PDFDocument.getWriterFor(cout);
-
+
formatObject(getIDRef(), cout, writer);
writer.write(' ');
formatObject(goToReference, cout, writer);
-
+
writer.flush();
return cout.getCount();
}
-
+
/**
* Sets the GoToReference in the associated DestinationData object.
*
@@ -120,7 +120,7 @@ public class PDFDestination extends PDFObject {
if (dest.getIDRef().equals(this.getIDRef())) {
return true;
}
-
+
return false;
}