fix warning about cast

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142836 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sergey Vladimirov 2011-07-04 22:36:52 +00:00
parent fbbc482d44
commit e41354dcd5

View 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();