Skip to content

Commit

Permalink
Variant.MISSING is deprecated
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.java.net/svn/com4j~svn/trunk/com4j@387 590aa308-3dd6-4388-9d27-cebafe3e2bdc
  • Loading branch information
kohsuke committed Mar 20, 2011
1 parent f048cca commit ee055f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/word/src/WordDemo.java
Expand Up @@ -43,7 +43,7 @@ public void windowActivate(_Document doc, Window w) {
// Variant _ = Variant.MISSING; // Variant _ = Variant.MISSING;
// app.documents().open("c:\\foo.doc", _, _, _, _, _, _, _, _, _, _, _); // 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().typeText("Welcome to com4j");
app.selection().typeParagraph(); app.selection().typeParagraph();
app.selection().typeText("Your Java/COM bridging solution"); app.selection().typeText("Your Java/COM bridging solution");
Expand Down

0 comments on commit ee055f6

Please sign in to comment.