mjudd 2007-03-07 00:32:13 +00:00
parent 2f660767c2
commit 9d312c1f2d
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ public abstract class PrintElement implements ImageObserver
p_maxWidth = maxWidth;
//
p_FieldAlignmentType = FieldAlignmentType;
if (p_FieldAlignmentType == null || p_FieldAlignmentType == MPrintFormatItem.FIELDALIGNMENTTYPE_Default)
if (p_FieldAlignmentType.equals(null) || p_FieldAlignmentType.equals(MPrintFormatItem.FIELDALIGNMENTTYPE_Default))
p_FieldAlignmentType = MPrintFormatItem.FIELDALIGNMENTTYPE_LeadingLeft;
//
p_sizeCalculated = calculateSize();