poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ser...@apache.org
Subject svn commit: r1389041 - /poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Paragraph.java
Date Sun, 23 Sep 2012 13:00:12 GMT
Author: sergey
Date: Sun Sep 23 13:00:12 2012
New Revision: 1389041

URL: http://svn.apache.org/viewvc?rev=1389041&view=rev
Log:
refactor list format override structures (was marked with @Internal annotation)

Modified:
    poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Paragraph.java

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Paragraph.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Paragraph.java?rev=1389041&r1=1389040&r2=1389041&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Paragraph.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Paragraph.java Sun Sep 23 13:00:12
2012
@@ -607,7 +607,7 @@ public short getStyleIndex()
 
     public boolean isInList()
     {
-        return getIlfo() != 0x000 && getIlfo() != 0xF801;
+        return getIlvl() != 0 && getIlfo() != 0x000 && getIlfo() != 0xF801;
     }
 
   /**



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message