Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsTableEditor.cpp File Reference
#include "nscore.h"
#include "nsIDOMDocument.h"
#include "nsEditor.h"
#include "nsIDOMText.h"
#include "nsIDOMElement.h"
#include "nsIDOMAttr.h"
#include "nsIDOMNode.h"
#include "nsIDOMNodeList.h"
#include "nsIDOMRange.h"
#include "nsISelection.h"
#include "nsISelectionPrivate.h"
#include "nsLayoutCID.h"
#include "nsIContent.h"
#include "nsIContentIterator.h"
#include "nsIAtom.h"
#include "nsIDOMHTMLTableElement.h"
#include "nsIDOMHTMLTableCellElement.h"
#include "nsITableCellLayout.h"
#include "nsITableLayout.h"
#include "nsHTMLEditor.h"
#include "nsVoidArray.h"
#include "nsEditorUtils.h"
#include "nsTextEditUtils.h"
#include "nsHTMLEditUtils.h"
#include "nsLayoutErrors.h"

Go to the source code of this file.

Classes

class  nsSetSelectionAfterTableEdit
class  nsSelectionBatcher

Functions

static PRBool IndexNotTested (nsVoidArray *aArray, PRInt32 aIndex)

Function Documentation

static PRBool IndexNotTested ( nsVoidArray aArray,
PRInt32  aIndex 
) [static]

Definition at line 3372 of file nsTableEditor.cpp.

{
  if (aArray)
  {
    PRInt32 count = aArray->Count();
    for (PRInt32 i = 0; i < count; i++)
    {
      if(aIndex == NS_PTR_TO_INT32(aArray->ElementAt(i)))
        return PR_FALSE;
    }
  }
  return PR_TRUE;
}

Here is the caller graph for this function: