diff --git a/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFTextRun.java b/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFTextRun.java index 7af81ce2f..540c92eb2 100644 --- a/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFTextRun.java +++ b/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFTextRun.java @@ -444,7 +444,7 @@ public final class HSLFTextRun implements TextRun { } if (ts.getSheet() instanceof MasterSheet) { - TextShape> ms = ts.getMetroShape(); + TextShape> ms = ts.getMetroShape(); if (ms == null) { return null; } diff --git a/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFTextShape.java b/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFTextShape.java index 6756e9ec9..d7b4e2773 100644 --- a/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFTextShape.java +++ b/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFTextShape.java @@ -927,8 +927,8 @@ implements TextShape { * * @return null, if there's no alternative representation, otherwise the text shape */ - public TextShape> getMetroShape() { - HSLFMetroShape>> mbs = new HSLFMetroShape>>(this); + public TextShape> getMetroShape() { + HSLFMetroShape>> mbs = new HSLFMetroShape>>(this); return mbs.getShape(); } } \ No newline at end of file