Index: xword/XWord/AddinActions.cs =================================================================== --- xword/XWord/AddinActions.cs (revision 18299) +++ xword/XWord/AddinActions.cs (working copy) @@ -293,8 +293,11 @@ //Open the file with Word Word.Document doc = OpenHTMLDocument(localFileName); - //doc.eProtectDoc(true); addin.EditedPages.Add(localFileName, pageFullName); + + //Mark just-opened document as saved. This prevents a silly confirmation box that + //warns about unsaved changes when closing an unchanged document. + doc.Saved = true; } catch (IOException ex) { @@ -653,6 +656,7 @@ MessageBox.Show(ioex.Message); return false; } + return true; } }