aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/pdf/PDFContentGenerator.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/render/pdf/PDFContentGenerator.java')
-rw-r--r--src/java/org/apache/fop/render/pdf/PDFContentGenerator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/render/pdf/PDFContentGenerator.java b/src/java/org/apache/fop/render/pdf/PDFContentGenerator.java
index 7cc9b7003..7a6e4e3d2 100644
--- a/src/java/org/apache/fop/render/pdf/PDFContentGenerator.java
+++ b/src/java/org/apache/fop/render/pdf/PDFContentGenerator.java
@@ -270,10 +270,10 @@ public class PDFContentGenerator {
/** Indicates the end of a text object. */
protected void endTextObject() {
if (textutil.isInTextObject()) {
+ textutil.endTextObject();
if (this.inMarkedContentSequence) {
endMarkedContentSequence();
}
- textutil.endTextObject();
}
}