From 9ff780f79dafdfbd0a25d2dbb7721bb049ae9663 Mon Sep 17 00:00:00 2001 From: "Andreas L. Delmelle" Date: Fri, 29 Aug 2008 20:12:34 +0000 Subject: Bugzilla 45667: avoid NullPointerExceptions during hyphenation for empty inlines. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@690382 13f79535-47bb-0310-9956-ffa450edef68 --- .../empty-inline_hyphenation_bug45667.xml | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 test/layoutengine/hyphenation-testcases/empty-inline_hyphenation_bug45667.xml (limited to 'test/layoutengine') diff --git a/test/layoutengine/hyphenation-testcases/empty-inline_hyphenation_bug45667.xml b/test/layoutengine/hyphenation-testcases/empty-inline_hyphenation_bug45667.xml new file mode 100644 index 000000000..c66b10de9 --- /dev/null +++ b/test/layoutengine/hyphenation-testcases/empty-inline_hyphenation_bug45667.xml @@ -0,0 +1,49 @@ + + + + + +

+ This test checks for Bugzilla 45667: NPE thrown by an empty inline + in combination with hyphenate="true". +

+
+ + + + + + + + + + + + + + Some inline text formatting. + + + + + + +
-- cgit v1.2.3