summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java
diff options
context:
space:
mode:
authorGrant Gayed <ggayed>2007-05-31 17:47:09 +0000
committerGrant Gayed <ggayed>2007-05-31 17:47:09 +0000
commit221d2d9e2106223f668cb777d52f16e059dc8185 (patch)
treec20be85272bf581918c071381125723f43331d21 /bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java
parent0f15420933e122e325fd3b1efd2c0317bbca1833 (diff)
downloadeclipse.platform.swt-221d2d9e2106223f668cb777d52f16e059dc8185.tar.gz
eclipse.platform.swt-221d2d9e2106223f668cb777d52f16e059dc8185.tar.xz
eclipse.platform.swt-221d2d9e2106223f668cb777d52f16e059dc8185.zip
spelling
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java')
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java b/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java
index d0166f9b25..637e784fff 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java
@@ -370,7 +370,7 @@ public OleClientSite(Composite parent, int style, String progId, File file) {
result = COM.CoCreateInstance(appClsid, 0, COM.CLSCTX_INPROC_HANDLER | COM.CLSCTX_INPROC_SERVER, COM.IIDIUnknown, ppv);
if (result != COM.S_OK) OLE.error(OLE.ERROR_CANNOT_CREATE_OBJECT, result);
objIUnknown = new IUnknown(ppv[0]);
- // get the persistant storage of the ole client
+ // get the persistent storage of the ole client
ppv = new int[1];
result = objIUnknown.QueryInterface(COM.IIDIPersistStorage, ppv);
if (result != COM.S_OK) OLE.error(OLE.ERROR_CANNOT_CREATE_OBJECT, result);
@@ -791,7 +791,7 @@ public boolean isDirty() {
* on the file system.
*/
- // Get access to the persistant storage mechanism
+ // Get access to the persistent storage mechanism
int[] address = new int[1];
if (objIOleObject.QueryInterface(COM.IIDIPersistFile, address) != COM.S_OK)
return true;
@@ -1145,7 +1145,7 @@ private int SaveObject() {
return COM.S_OK;
}
/**
- * Saves the document to the specified file and includes OLE spcific inforrmation. This method
+ * Saves the document to the specified file and includes OLE specific information. This method
* must <b>only</b> be used for files that have an OLE Storage format. For example, a word file
* edited with Word.Document should be saved using this method because there is formating information
* that should be stored in the OLE specific Storage format.
@@ -1165,7 +1165,7 @@ private boolean saveToStorageFile(File file) {
if (file == null || file.isDirectory()) return false;
if (!updateStorage()) return false;
- // get access to the persistant storage mechanism
+ // get access to the persistent storage mechanism
int[] address = new int[1];
if (objIOleObject.QueryInterface(COM.IIDIPersistStorage, address) != COM.S_OK) return false;
IPersistStorage permStorage = new IPersistStorage(address[0]);