Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrbrooks2010-09-24 12:41:06 -0400
committerRyan D. Brooks2010-09-24 12:41:06 -0400
commit58f9753be106d5ec7948ce33dd53a842081ea90a (patch)
tree44daebd76df131d6ba9695927abd8972f258c5b3 /plugins
parent9c77a3d397edd7ce707e0299a892b521c09ebc2d (diff)
downloadorg.eclipse.osee-58f9753be106d5ec7948ce33dd53a842081ea90a.tar.gz
org.eclipse.osee-58f9753be106d5ec7948ce33dd53a842081ea90a.tar.xz
org.eclipse.osee-58f9753be106d5ec7948ce33dd53a842081ea90a.zip
bug[ats_1MSHM]: Stop MS Word from attempting to update the Normal.dot
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/render/VbaWordDiffGenerator.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/render/VbaWordDiffGenerator.java b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/render/VbaWordDiffGenerator.java
index e17fe71e39..2d211fc3eb 100644
--- a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/render/VbaWordDiffGenerator.java
+++ b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/render/VbaWordDiffGenerator.java
@@ -36,9 +36,10 @@ public class VbaWordDiffGenerator implements IVbaDiffGenerator {
private final static String mergeCommand =
" baseDoc.Merge ver2, wdCompareTargetSelectedMerge, detectFormatChanges, wdFormattingFromCurrent, False\n oWord.ActiveDocument.SaveAs diffPath, wdFormatXML, , , False\n\n";
- private final static String tail = " If visible Then\n oWord.Visible = True\n Else\n";
+ private final static String tail =
+ " oWord.NormalTemplate.Saved = True\n If visible Then\n oWord.Visible = True\n Else\n";
private final static String tail2 =
- " oWord.Quit()\n set oWord = Nothing\n End If\n\nEnd Sub\n\nmain";
+ " oWord.Quit()\n set oWord = Nothing\n End If\n\nEnd Sub\n\nmain";
private StringBuilder builder;
private boolean finalized;

Back to the top