]> source.dussan.org Git - poi.git/commitdiff
fix warning about cast
authorSergey Vladimirov <sergey@apache.org>
Mon, 4 Jul 2011 22:36:52 +0000 (22:36 +0000)
committerSergey Vladimirov <sergey@apache.org>
Mon, 4 Jul 2011 22:36:52 +0000 (22:36 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142836 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/src/org/apache/poi/hwpf/usermodel/Paragraph.java

index f51576df9f500ea42da7396a4f9835545cc0353d..5d27d41a0c3dfc02a6a38345bde2ccac7dae323f 100644 (file)
@@ -87,7 +87,7 @@ public class Paragraph extends Range implements Cloneable {
   protected Paragraph(int startIdx, int endIdx, Table parent)
   {
     super(startIdx, endIdx, Range.TYPE_PARAGRAPH, parent);
-    PAPX papx = (PAPX)_paragraphs.get(_parEnd - 1);
+    PAPX papx = _paragraphs.get(_parEnd - 1);
     _props = papx.getParagraphProperties(_doc.getStyleSheet());
     _papx = papx.getSprmBuf();
     _istd = papx.getIstd();