}
if (ts.getSheet() instanceof MasterSheet) {
- TextShape<?,? extends TextParagraph<?,?,TextRun>> ms = ts.getMetroShape();
+ TextShape<?,? extends TextParagraph<?,?,? extends TextRun>> ms = ts.getMetroShape();
if (ms == null) {
return null;
}
*
* @return null, if there's no alternative representation, otherwise the text shape
*/
- public TextShape<?,? extends TextParagraph<?,?,TextRun>> getMetroShape() {
- HSLFMetroShape<TextShape<?,? extends TextParagraph<?,?,TextRun>>> mbs = new HSLFMetroShape<TextShape<?,? extends TextParagraph<?,?,TextRun>>>(this);
+ public TextShape<?,? extends TextParagraph<?,?,? extends TextRun>> getMetroShape() {
+ HSLFMetroShape<TextShape<?,? extends TextParagraph<?,?,? extends TextRun>>> mbs = new HSLFMetroShape<TextShape<?,? extends TextParagraph<?,?,? extends TextRun>>>(this);
return mbs.getShape();
}
}
\ No newline at end of file