Freemind Import - Fixing relationshis in loop

This commit is contained in:
Pablo Luna
2011-01-11 18:54:20 -03:00
parent be4cebf64b
commit 8db75a940d
2 changed files with 6 additions and 8 deletions

View File

@@ -377,7 +377,7 @@ public class FreemindImporter
{
fontStyle.append(fixFontName(font));
fontStyle.append(";");
BigInteger bigInteger = font.getSIZE().intValue() < 8 ? BigInteger.valueOf(8) : font.getSIZE();
BigInteger bigInteger = (font.getSIZE()==null || font.getSIZE().intValue() < 8) ? BigInteger.valueOf(8) : font.getSIZE();
fontStyle.append(bigInteger);
fontStyle.append(";");
fontStyle.append(node.getCOLOR());