diff options
author | Grant Gayed <ggayed> | 2007-05-31 17:47:09 +0000 |
---|---|---|
committer | Grant Gayed <ggayed> | 2007-05-31 17:47:09 +0000 |
commit | 221d2d9e2106223f668cb777d52f16e059dc8185 (patch) | |
tree | c20be85272bf581918c071381125723f43331d21 /bundles | |
parent | 0f15420933e122e325fd3b1efd2c0317bbca1833 (diff) | |
download | eclipse.platform.swt-221d2d9e2106223f668cb777d52f16e059dc8185.tar.gz eclipse.platform.swt-221d2d9e2106223f668cb777d52f16e059dc8185.tar.xz eclipse.platform.swt-221d2d9e2106223f668cb777d52f16e059dc8185.zip |
spelling
Diffstat (limited to 'bundles')
4 files changed, 9 insertions, 9 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OLE.java b/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OLE.java index e4f9149d10..60d16ccb86 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OLE.java +++ b/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OLE.java @@ -178,7 +178,7 @@ public class OLE extends SWT { /* Ole Description types */ public static final short VT_BOOL = 11; // Boolean; True=-1, False=0. public static final short VT_BSTR = 8; // Binary String. - public static final short VT_BYREF = 16384; // By reference - must be combined with one of the othre VT values + public static final short VT_BYREF = 16384; // By reference - must be combined with one of the other VT values public static final short VT_CY = 6; // Currency. public static final short VT_DATE = 7; // Date. public static final short VT_DISPATCH = 9; // IDispatch 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]); diff --git a/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleEventTable.java b/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleEventTable.java index f925e2b5bf..a311ec0e4f 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleEventTable.java +++ b/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleEventTable.java @@ -14,7 +14,7 @@ package org.eclipse.swt.ole.win32; /** * The OleEventTable class implements a simple * look up mechanism that maps an event type -* to a listener. Muliple listeners for the +* to a listener. Multiple listeners for the * same event type are supported. * */ diff --git a/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleFrame.java b/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleFrame.java index 7adaa3e6c9..f142fcf5d5 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleFrame.java +++ b/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleFrame.java @@ -496,7 +496,7 @@ private int InsertMenus(int hmenuShared, int lpMenuWidths) { if (item != null) { int index = item.getParent().indexOf(item); lpmii.cch = cch; // lpmii.cch gets updated by GetMenuItemInfo to indicate the - // exact nuber of characters in name. Reset it to a large number + // exact number of characters in name. Reset it to a large number // before each call. if (OS.GetMenuItemInfo(hMenu, index, true, lpmii)) { if (OS.InsertMenuItem(hmenuShared, newindex, true, lpmii)) { @@ -521,7 +521,7 @@ private int InsertMenus(int hmenuShared, int lpMenuWidths) { if (item != null) { int index = item.getParent().indexOf(item); lpmii.cch = cch; // lpmii.cch gets updated by GetMenuItemInfo to indicate the - // exact nuber of characters in name. Reset it to a large number + // exact number of characters in name. Reset it to a large number // before each call. if (OS.GetMenuItemInfo(hMenu, index, true, lpmii)) { if (OS.InsertMenuItem(hmenuShared, newindex, true, lpmii)) { @@ -736,7 +736,7 @@ void setCurrentDocument(OleClientSite doc) { * <p>This method must be called before in place activation of the OLE Document. After the Document * is activated, the menu bar will not be modified until a subsequent activation. * - * @param fileMenus an array of top level MenuItems to be inserted into the Flie location of + * @param fileMenus an array of top level MenuItems to be inserted into the File location of * the menubar */ public void setFileMenus(MenuItem[] fileMenus){ |