зеркало из https://github.com/mozilla/pjs.git
Removed unused member variable and code. (Bug 564074) r=ehsan
This commit is contained in:
Родитель
a4c39ef5a4
Коммит
98a684b5d9
|
@ -3947,8 +3947,6 @@ NS_IMETHODIMP
|
|||
nsHTMLEditor::StartOperation(PRInt32 opID, nsIEditor::EDirection aDirection)
|
||||
{
|
||||
nsEditor::StartOperation(opID, aDirection); // will set mAction, mDirection
|
||||
if (! ((mAction==kOpInsertText) || (mAction==kOpInsertIMEText)) )
|
||||
ClearInlineStylesCache();
|
||||
if (mRules) return mRules->BeforeEdit(mAction, mDirection);
|
||||
return NS_OK;
|
||||
}
|
||||
|
@ -3960,8 +3958,6 @@ NS_IMETHODIMP
|
|||
nsHTMLEditor::EndOperation()
|
||||
{
|
||||
// post processing
|
||||
if (! ((mAction==kOpInsertText) || (mAction==kOpInsertIMEText) || (mAction==kOpIgnore)) )
|
||||
ClearInlineStylesCache();
|
||||
nsresult res = NS_OK;
|
||||
if (mRules) res = mRules->AfterEdit(mAction, mDirection);
|
||||
nsEditor::EndOperation(); // will clear mAction, mDirection
|
||||
|
@ -4254,11 +4250,6 @@ nsHTMLEditor::GetEnclosingTable(nsIDOMNode *aNode)
|
|||
#pragma mark -
|
||||
#endif
|
||||
|
||||
void nsHTMLEditor::ClearInlineStylesCache()
|
||||
{
|
||||
mCachedNode = nsnull;
|
||||
}
|
||||
|
||||
#ifdef PRE_NODE_IN_BODY
|
||||
nsCOMPtr<nsIDOMElement> nsHTMLEditor::FindPreElement()
|
||||
{
|
||||
|
|
|
@ -440,9 +440,6 @@ protected:
|
|||
PRBool SetCaretInTableCell(nsIDOMElement* aElement);
|
||||
PRBool IsElementInBody(nsIDOMElement* aElement);
|
||||
|
||||
// inline style caching
|
||||
void ClearInlineStylesCache();
|
||||
|
||||
// key event helpers
|
||||
NS_IMETHOD TabInTable(PRBool inIsShift, PRBool *outHandled);
|
||||
NS_IMETHOD CreateBR(nsIDOMNode *aNode, PRInt32 aOffset,
|
||||
|
@ -742,8 +739,6 @@ protected:
|
|||
|
||||
TypeInState* mTypeInState;
|
||||
|
||||
nsCOMPtr<nsIDOMNode> mCachedNode;
|
||||
|
||||
PRPackedBool mCRInParagraphCreatesParagraph;
|
||||
|
||||
PRPackedBool mCSSAware;
|
||||
|
|
Загрузка…
Ссылка в новой задаче