Add logic to try to fix save problem

This commit is contained in:
Rich 2008-08-13 12:25:21 +00:00
parent 81c0b8c54b
commit befc551b67

View File

@ -1556,7 +1556,8 @@ STDMETHODIMP CDsoDocObject::SaveDocToFile(LPWSTR pwszFullName, BOOL fKeepLock)
#endif #endif
// Do the save using file path or NULL if we are saving to current file... // Do the save using file path or NULL if we are saving to current file...
hr = pipfile->Save((fSameAsOpen ? NULL : pwszFullName), fKeepLock); //hr = pipfile->Save((fSameAsOpen ? NULL : pwszFullName), fKeepLock);
hr = pipfile->Save(pwszFullName, fKeepLock);
#ifdef DSO_WORD12_PERSIST_BUG #ifdef DSO_WORD12_PERSIST_BUG
// HACK: If we have the pwszWordCurFile, we'll assume Word 12 RTM might have saved this, and we // HACK: If we have the pwszWordCurFile, we'll assume Word 12 RTM might have saved this, and we