Project: SWT
Bug 275484 OleClientSite#isDirty QueryInterface IIDIPersistFile but creates IPersistStorage
Reported: 2009-05-08 12:27:32 | Status: resolved fixed

OleClientSite#isDirty QueryInterface IIDIPersistFile but creates IPersistStorage See the code // Get access to the persistent storage mechanism int /*long*/[] address = new int /*long*/[1]; if (objIOleObject.QueryInterface(COM.IIDIPersistFile, address) != COM.S_OK) return true; IPersistStorage permStorage = new IPersistStorage(address[0]); // Are the contents of the permanent storage different from the file? int result = permStorage.IsDirty();

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java