maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: maven/src/plugins-build/word2html/src/plugin-resources word2html.vbs
Date Wed, 18 Jun 2003 06:39:54 GMT
dion        2003/06/17 23:39:54

  Modified:    src/plugins-build/word2html/src/plugin-resources
                        word2html.vbs
  Log:
  Ensure quit is called with no save changes option
  
  Revision  Changes    Path
  1.3       +5 -2      maven/src/plugins-build/word2html/src/plugin-resources/word2html.vbs
  
  Index: word2html.vbs
  ===================================================================
  RCS file: /home/cvs/maven/src/plugins-build/word2html/src/plugin-resources/word2html.vbs,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- word2html.vbs	18 Jun 2003 01:37:45 -0000	1.2
  +++ word2html.vbs	18 Jun 2003 06:39:54 -0000	1.3
  @@ -41,6 +41,7 @@
   
   ' Main chunk of code
   Dim basedir, FileSys, HTMLFormat, inputFile, obj, outputDir, outputFile
  +On Error Resume Next
   
   HTMLFormat = 8
   ' Fully Qualified File name
  @@ -60,4 +61,6 @@
   obj.Visible = FALSE
   obj.Documents.Open inputFile,,True
   obj.ActiveDocument.SaveAs outputFile, HTMLFormat
  -obj.Quit
  +Dim wdDoNotSaveChanges
  +wdDoNotSaveChanges = 0
  +obj.Quit wdDoNotSaveChanges
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message