mirror of https://github.com/apache/poi.git
bug 34435 , submitted by Nick Burch. Thanks
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353645 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
39d0b7d3a8
commit
85fead1410
|
@ -154,7 +154,10 @@ public class EscherSpRecord
|
|||
result.append( ( flags & FLAG_BACKGROUND ) != 0 ? "|BACKGROUND" : "" );
|
||||
result.append( ( flags & FLAG_HASSHAPETYPE ) != 0 ? "|HASSHAPETYPE" : "" );
|
||||
|
||||
//need to check, else blows up on some records - bug 34435
|
||||
if(result.length() > 0) {
|
||||
result.deleteCharAt(0);
|
||||
}
|
||||
return result.toString();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue