Bug 260911 - fix 'hierarchy' misspellings. r=timeless
authorMichael Kohler <michaelkohler@live.com>
Thu, 29 Apr 2010 21:01:11 +0200
changeset 41545 e3622bfdf792b527540428fa8271e6785f82b14d
parent 41544 b272dacfd7e74fe56f2b2eb291c3ec38d0e32827
child 41546 b826d7ba5c45f653c247bec5e28452be24503476
push id13063
push userdgottwald@mozilla.com
push dateThu, 29 Apr 2010 19:30:18 +0000
treeherderautoland@b826d7ba5c45 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstimeless
bugs260911
milestone1.9.3a5pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
Bug 260911 - fix 'hierarchy' misspellings. r=timeless
content/base/public/nsIDocumentEncoder.idl
editor/libeditor/base/nsEditor.cpp
editor/libeditor/html/nsHTMLEditRules.cpp
editor/libeditor/html/nsHTMLEditor.cpp
embedding/browser/activex/src/control/MozillaControl.idl
other-licenses/atk-1.0/atk/atkrelationtype.h
--- a/content/base/public/nsIDocumentEncoder.idl
+++ b/content/base/public/nsIDocumentEncoder.idl
@@ -297,17 +297,17 @@ interface nsIDocumentEncoder : nsISuppor
    *
    * @return The document encoded into a string.
    */
   AString encodeToString();
 
   /**
    * Encode the document into a string. Stores the extra context information
    * into the two arguments.
-   * @param [OUT] aContextString The string where the parent heirarchy
+   * @param [OUT] aContextString The string where the parent hierarchy
    *              information will be stored.
    * @param [OUT] aInfoString The string where extra context info will
    *              be stored.
    * @return The document encoded as a string.
    * 
    */
   AString encodeToStringWithContext( out AString aContextString,
                                      out AString aInfoString);
--- a/editor/libeditor/base/nsEditor.cpp
+++ b/editor/libeditor/base/nsEditor.cpp
@@ -3492,17 +3492,17 @@ nsEditor::GetLeftmostChild(nsIDOMNode *a
 
   return resultNode;
 }
 
 PRBool 
 nsEditor::IsBlockNode(nsIDOMNode *aNode)
 {
   // stub to be overridden in nsHTMLEditor.
-  // screwing around with the class heirarchy here in order
+  // screwing around with the class hierarchy here in order
   // to not duplicate the code in GetNextNode/GetPrevNode
   // across both nsEditor/nsHTMLEditor.  
   return PR_FALSE;
 }
 
 PRBool 
 nsEditor::CanContainTag(nsIDOMNode* aParent, const nsAString &aChildTag)
 {
--- a/editor/libeditor/html/nsHTMLEditRules.cpp
+++ b/editor/libeditor/html/nsHTMLEditRules.cpp
@@ -1056,17 +1056,17 @@ nsHTMLEditRules::GetIndentState(PRBool *
       }
     }
   }  
   
   if (!*aCanOutdent)
   {
     // if we haven't found something to outdent yet, also check the parents
     // of selection endpoints.  We might have a blockquote or list item 
-    // in the parent heirarchy.
+    // in the parent hierarchy.
     
     // gather up info we need for test
     nsCOMPtr<nsIDOMNode> parent, tmp, root;
     nsIDOMElement *rootElem = mHTMLEditor->GetRoot();
     if (!rootElem) return NS_ERROR_NULL_POINTER;
     nsCOMPtr<nsISelection> selection;
     PRInt32 selOffset;
     root = do_QueryInterface(rootElem);
@@ -1121,17 +1121,17 @@ nsHTMLEditRules::GetParagraphState(PRBoo
   // using "x" as an uninitialized value, since "" is meaningful
   nsAutoString formatStr(NS_LITERAL_STRING("x")); 
   
   nsCOMArray<nsIDOMNode> arrayOfNodes;
   nsresult res = GetParagraphFormatNodes(arrayOfNodes, PR_TRUE);
   if (NS_FAILED(res)) return res;
 
   // post process list.  We need to replace any block nodes that are not format
-  // nodes with their content.  This is so we only have to look "up" the heirarchy
+  // nodes with their content.  This is so we only have to look "up" the hierarchy
   // to find format nodes, instead of both up and down.
   PRInt32 listCount = arrayOfNodes.Count();
   PRInt32 i;
   for (i=listCount-1; i>=0; i--)
   {
     nsCOMPtr<nsIDOMNode> curNode = arrayOfNodes[i];
     nsAutoString format;
     // if it is a known format node we have it easy
@@ -4121,17 +4121,17 @@ nsHTMLEditRules::WillOutdent(nsISelectio
           // fall out and handle curNode
         }
       }
       
       // are we inside a blockquote?
       nsCOMPtr<nsIDOMNode> n = curNode;
       nsCOMPtr<nsIDOMNode> tmp;
       curBlockQuoteIsIndentedWithCSS = PR_FALSE;
-      // keep looking up the heirarchy as long as we don't hit the body or a table element
+      // keep looking up the hierarchy as long as we don't hit the body or a table element
       // (other than an entire table)
       while (!nsTextEditUtils::IsBody(n) &&   
              (nsHTMLEditUtils::IsTable(n) || !nsHTMLEditUtils::IsTableElement(n)))
       {
         n->GetParentNode(getter_AddRefs(tmp));
         if (!tmp) {
           break;
         }
@@ -4516,20 +4516,20 @@ nsHTMLEditRules::CreateStyleForInsertTex
       }
       mHTMLEditor->IsEmptyNode(rightNode, &bIsEmptyNode, PR_FALSE, PR_TRUE);
       if (bIsEmptyNode)
       {
         // delete rightNode if it became empty
         res = mEditor->DeleteNode(rightNode);
         NS_ENSURE_SUCCESS(res, res);
       }
-      // remove the style on this new heirarchy
+      // remove the style on this new hierarchy
       PRInt32 newSelOffset = 0;
       {
-        // track the point at the new heirarchy.
+        // track the point at the new hierarchy.
         // This is so we can know where to put the selection after we call
         // RemoveStyleInside().  RemoveStyleInside() could remove any and all of those nodes,
         // so I have to use the range tracking system to find the right spot to put selection.
         nsAutoTrackDOMPoint tracker(mHTMLEditor->mRangeUpdater, address_of(newSelParent), &newSelOffset);
         res = mHTMLEditor->RemoveStyleInside(leftNode, item->tag, &(item->attr));
         NS_ENSURE_SUCCESS(res, res);
       }
       // reset our node offset values to the resulting new sel point
--- a/editor/libeditor/html/nsHTMLEditor.cpp
+++ b/editor/libeditor/html/nsHTMLEditor.cpp
@@ -1987,17 +1987,17 @@ nsHTMLEditor::InsertElementAtSelection(n
   res = mRules->DidDoAction(selection, &ruleInfo, res);
   return res;
 }
 
 
 /* 
   InsertNodeAtPoint: attempts to insert aNode into the document, at a point specified by 
       {*ioParent,*ioOffset}.  Checks with strict dtd to see if containment is allowed.  If not
-      allowed, will attempt to find a parent in the parent heirarchy of *ioParent that will
+      allowed, will attempt to find a parent in the parent hierarchy of *ioParent that will
       accept aNode as a child.  If such a parent is found, will split the document tree from
       {*ioParent,*ioOffset} up to parent, and then insert aNode.  ioParent & ioOffset are then
       adjusted to point to the actual location that aNode was inserted at.  aNoEmptyNodes
       specifies if the splitting process is allowed to reslt in empty nodes.
               nsIDOMNode            *aNode           node to insert
               nsCOMPtr<nsIDOMNode>  *ioParent        insertion parent
               PRInt32               *ioOffset        insertion offset
               PRBool                aNoEmptyNodes    splitting can result in empty nodes?
--- a/embedding/browser/activex/src/control/MozillaControl.idl
+++ b/embedding/browser/activex/src/control/MozillaControl.idl
@@ -124,17 +124,17 @@ library MOZILLACONTROLLib
             [helpstring("Refresh normal")]     REFRESH_NORMAL     = 0,  //== OLECMDIDF_REFRESH_NORMAL
             [helpstring("Refresh if expired")] REFRESH_IFEXPIRED  = 1,  //== OLECMDIDF_REFRESH_IFEXPIRED
             [helpstring("Refresh completely")] REFRESH_COMPLETELY = 3   //== OLECMDIDF_REFRESH_COMPLETELY
         } RefreshConstants;
 
         [id(106), helpstring("Stops opening a file."), helpcontext(0x0000)]
         HRESULT Stop();
 
-        // Automation heirarchy...
+        // Automation hierarchy...
         [id(200), propget, helpstring("Returns the application automation object if accessible, this automation object otherwise.."), helpcontext(0x0000)]
         HRESULT Application([out,retval] IDispatch** ppDisp);
 
         [id(201), propget, helpstring("Returns the automation object of the container/parent if one exists or this automation object."), helpcontext(0x0000)]
         HRESULT Parent([out,retval] IDispatch** ppDisp);
 
         [id(202), propget, helpstring("Returns the container/parent automation object, if any."), helpcontext(0x0000)]
         HRESULT Container([out,retval] IDispatch** ppDisp);
--- a/other-licenses/atk-1.0/atk/atkrelationtype.h
+++ b/other-licenses/atk-1.0/atk/atkrelationtype.h
@@ -32,17 +32,17 @@ extern "C" {
  *@ATK_RELATION_LABEL_FOR: Indicates an object is a label for one or more target objects.
  *@ATK_RELATION_LABELLED_BY: Indicates an object is labelled by one or more target objects.
  *@ATK_RELATION_MEMBER_OF: Indicates an object is a member of a group of one or more target objects.
  *@ATK_RELATION_NODE_CHILD_OF: Indicates an object is a cell in a treetable which is displayed because a cell in the same column is expanded and identifies that cell.
  *@ATK_RELATION_FLOWS_TO: Indicates that the object has content that flows logically to another
  *  AtkObject in a sequential way, (for instance text-flow).
  *@ATK_RELATION_FLOWS_FROM: Indicates that the object has content that flows logically from
  *  another AtkObject in a sequential way, (for instance text-flow).
- *@ATK_RELATION_SUBWINDOW_OF: Indicates a subwindow attached to a component but otherwise has no connection in  the UI heirarchy to that component.
+ *@ATK_RELATION_SUBWINDOW_OF: Indicates a subwindow attached to a component but otherwise has no connection in  the UI hierarchy to that component.
  *@ATK_RELATION_EMBEDS: Indicates that the object visually embeds 
  *  another object's content, i.e. this object's content flows around 
  *  another's content.
  *@ATK_RELATION_EMBEDDED_BY: Inverse of %ATK_RELATION_EMBEDS, indicates that
  *  this object's content is visualy embedded in another object.
  *@ATK_RELATION_POPUP_FOR: Indicates that an object is a popup for another object.
  *@ATK_RELATION_PARENT_WINDOW_OF: Indicates that an object is a parent window of another object.
  *@ATK_RELATION_DESCRIBED_BY: Indicates that another object provides descriptive information about this object; more verbose than ATK_RELATION_LABELLED_BY.