Add logic to try to fix save problem
This commit is contained in:
parent
81c0b8c54b
commit
befc551b67
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user