diff options
author | Andreas L. Delmelle <adelmelle@apache.org> | 2015-05-24 12:14:23 +0000 |
---|---|---|
committer | Andreas L. Delmelle <adelmelle@apache.org> | 2015-05-24 12:14:23 +0000 |
commit | 4d35002582177c694e914aa3a0850e6c0a10b591 (patch) | |
tree | 420ed3508758f7d59cef425bd9c3c665e1606089 /src/java | |
parent | 137f1d3121cc708102f1582b35bcfadbb1d2d205 (diff) | |
download | xmlgraphics-fop-4d35002582177c694e914aa3a0850e6c0a10b591.tar.gz xmlgraphics-fop-4d35002582177c694e914aa3a0850e6c0a10b591.zip |
Forgot to include in r1681435
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1681438 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java')
-rw-r--r-- | src/java/org/apache/fop/render/rtf/RTFHandler.java | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/render/rtf/RTFHandler.java b/src/java/org/apache/fop/render/rtf/RTFHandler.java index 347516fd7..05c68bec6 100644 --- a/src/java/org/apache/fop/render/rtf/RTFHandler.java +++ b/src/java/org/apache/fop/render/rtf/RTFHandler.java @@ -687,6 +687,7 @@ public class RTFHandler extends FOEventHandler { try { RtfAttributes atts = TableAttributesConverter.convertTablePartAttributes(part); + // @SuppressFBWarnings("BC_UNCONFIRMED_CAST_OF_RETURN_VALUE") RtfTable tbl = (RtfTable)builderContext.getContainer(RtfTable.class, true, this); tbl.setHeaderAttribs(atts); } catch (IOException ioe) { @@ -703,6 +704,7 @@ public class RTFHandler extends FOEventHandler { } try { + // @SuppressFBWarnings("BC_UNCONFIRMED_CAST_OF_RETURN_VALUE") RtfTable tbl = (RtfTable)builderContext.getContainer(RtfTable.class, true, this); tbl.setHeaderAttribs(null); } catch (IOException ioe) { @@ -738,6 +740,7 @@ public class RTFHandler extends FOEventHandler { try { // create an RtfTableRow in the current RtfTable + // @SuppressFBWarnings("BC_UNCONFIRMED_CAST_OF_RETURN_VALUE") final RtfTable tbl = (RtfTable)builderContext.getContainer(RtfTable.class, true, null); @@ -768,6 +771,7 @@ public class RTFHandler extends FOEventHandler { try { TableContext tctx = builderContext.getTableContext(); + // @SuppressFBWarnings("BC_UNCONFIRMED_CAST_OF_RETURN_VALUE") final RtfTableRow row = (RtfTableRow)builderContext.getContainer(RtfTableRow.class, true, null); @@ -805,6 +809,7 @@ public class RTFHandler extends FOEventHandler { try { TableContext tctx = builderContext.getTableContext(); + // @SuppressFBWarnings("BC_UNCONFIRMED_CAST_OF_RETURN_VALUE") final RtfTableRow row = (RtfTableRow)builderContext.getContainer(RtfTableRow.class, true, null); @@ -894,7 +899,8 @@ public class RTFHandler extends FOEventHandler { return; } try { - RtfTableCell cell = (RtfTableCell) builderContext.getContainer(RtfTableCell.class, false, this); + // @SuppressFBWarnings("BC_UNCONFIRMED_CAST_OF_RETURN_VALUE") + RtfTableCell cell = (RtfTableCell)builderContext.getContainer(RtfTableCell.class, false, this); cell.finish(); } catch (Exception e) { @@ -949,6 +955,7 @@ public class RTFHandler extends FOEventHandler { // create an RtfListItem in the current RtfList try { + // @SuppressFBWarnings("BC_UNCONFIRMED_CAST_OF_RETURN_VALUE") RtfList list = (RtfList)builderContext.getContainer( RtfList.class, true, this); @@ -995,6 +1002,7 @@ public class RTFHandler extends FOEventHandler { } try { + // @SuppressFBWarnings("BC_UNCONFIRMED_CAST_OF_RETURN_VALUE") RtfListItem item = (RtfListItem)builderContext.getContainer(RtfListItem.class, true, this); @@ -1325,6 +1333,7 @@ public class RTFHandler extends FOEventHandler { } try { + // @SuppressFBWarnings("BC_UNCONFIRMED_CAST_OF_RETURN_VALUE") RtfFootnote rtfFootnote = (RtfFootnote)builderContext.getContainer( RtfFootnote.class, @@ -1346,6 +1355,7 @@ public class RTFHandler extends FOEventHandler { } try { + // @SuppressFBWarnings("BC_UNCONFIRMED_CAST_OF_RETURN_VALUE") RtfFootnote rtfFootnote = (RtfFootnote)builderContext.getContainer( RtfFootnote.class, |