Permalink
Browse files

Variant.MISSING is deprecated

git-svn-id: https://svn.java.net/svn/com4j~svn/trunk/com4j@387 590aa308-3dd6-4388-9d27-cebafe3e2bdc
  • Loading branch information...
1 parent f048cca commit ee055f647d7bb32f08309c550fbaaa888fa12c75 kohsuke committed Mar 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 samples/word/src/WordDemo.java
@@ -43,7 +43,7 @@ public void windowActivate(_Document doc, Window w) {
// Variant _ = Variant.MISSING;
// app.documents().open("c:\\foo.doc", _, _, _, _, _, _, _, _, _, _, _);
- app.documents().add( Variant.MISSING, false, false, true);
+ app.documents().add( Variant.getMissing(), false, false, true);
app.selection().typeText("Welcome to com4j");
app.selection().typeParagraph();
app.selection().typeText("Your Java/COM bridging solution");

0 comments on commit ee055f6

Please sign in to comment.