vertFlip ^= ps.getFlipVertical();\r
horzFlip ^= ps.getFlipHorizontal();\r
sc = ps.getParent();\r
- };\r
+ }\r
\r
// Horizontal flipping applies only to shape outline and not to the text in the shape.\r
// Applying flip second time restores the original not-flipped transform\r
DrawFactory fact = DrawFactory.getInstance(graphics);\r
\r
double y0 = y;\r
- Iterator<? extends TextParagraph<?,?,? extends TextRun>> paragraphs = getShape().iterator();\r
- \r
+ //noinspection RedundantCast\r
+ Iterator<? extends TextParagraph<?,?,? extends TextRun>> paragraphs = (Iterator<? extends TextParagraph<?, ?, ? extends TextRun>>) getShape().iterator();\r
+\r
boolean isFirstLine = true;\r
for (int autoNbrIdx=0; paragraphs.hasNext(); autoNbrIdx++){\r
TextParagraph<?,?,? extends TextRun> p = paragraphs.next();\r