Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid W. Miller2013-09-06 19:26:33 +0000
committerDavid W. Miller2013-09-09 19:17:41 +0000
commit6a110dcfe66720fc47705f3b0ea4972149a4cf71 (patch)
tree3b80c0b75ac071723b381172ee49a355e913ec5f /plugins
parent7bb9a26096b6c7ccab52b2e923ae270283f2a3d2 (diff)
downloadorg.eclipse.osee-6a110dcfe66720fc47705f3b0ea4972149a4cf71.tar.gz
org.eclipse.osee-6a110dcfe66720fc47705f3b0ea4972149a4cf71.tar.xz
org.eclipse.osee-6a110dcfe66720fc47705f3b0ea4972149a4cf71.zip
bug[ats_FMM3G]: Fix for rendering of invalid relation order
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/render/RelationOrderRenderer.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/render/RelationOrderRenderer.java b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/render/RelationOrderRenderer.java
index 33b1ad6e6b..b4792fc0ee 100644
--- a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/render/RelationOrderRenderer.java
+++ b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/render/RelationOrderRenderer.java
@@ -73,8 +73,8 @@ public class RelationOrderRenderer {
}
public void toWordML(Producer producer, IOseeBranch branch, RelationOrderData relationOrderData) {
+ WordMLProducer writer = (WordMLProducer) producer;
try {
- WordMLProducer writer = (WordMLProducer) producer;
writer.startTable();
writer.addWordMl("<w:tblPr><w:tblW w:w=\"8200\" w:type=\"dxa\"/><w:jc w:val=\"center\"/></w:tblPr>");
if (!relationOrderData.hasEntries()) {
@@ -97,9 +97,14 @@ public class RelationOrderRenderer {
}
}
}
- writer.endTable();
} catch (Exception ex) {
OseeLog.log(Activator.class, Level.SEVERE, ex);
+ } finally {
+ try {
+ writer.endTable();
+ } catch (Exception ex) {
+ OseeLog.log(Activator.class, Level.SEVERE, ex);
+ }
}
}
}

Back to the top