Revision: 12372
http://sourceforge.net/p/foray/code/12372
Author: victormote
Date: 2022-01-10 14:09:03 +0000 (Mon, 10 Jan 2022)
Log Message:
-----------
Allow any text items as previous siblings.
Modified Paths:
--------------
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/Marker4a.java
Modified: trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/Marker4a.java
===================================================================
--- trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/Marker4a.java 2022-01-10 13:34:32 UTC (rev 12371)
+++ trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/Marker4a.java 2022-01-10 14:09:03 UTC (rev 12372)
@@ -82,8 +82,8 @@
final FoObj sibling = siblings.get(i).asNativeType();
if (sibling instanceof Marker4a) {
/* This is valid. */
- } else if (sibling instanceof AbstractCharacterSequence) {
- final AbstractCharacterSequence text = (AbstractCharacterSequence) sibling;
+ } else if (sibling instanceof FoText4a) {
+ final FoText4a text = (FoText4a) sibling;
if (text.isAllWhiteSpace()) {
/* This is valid. */
} else {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|