mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Fix some URMs and warnings in editor code, sr=kin, no bug.
This commit is contained in:
parent
29f2dec3f7
commit
419f77acfc
@ -103,6 +103,8 @@ nsBaseComposerCommand::SetCommandNodeState(const nsAReadableString & aCommandNam
|
||||
nsBaseStateUpdatingCommand::nsBaseStateUpdatingCommand(const char* aTagName)
|
||||
: nsBaseComposerCommand()
|
||||
, mTagName(aTagName)
|
||||
, mGotState(PR_FALSE)
|
||||
, mState(PR_FALSE)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -94,7 +94,6 @@ protected:
|
||||
protected:
|
||||
|
||||
const char* mTagName;
|
||||
const char* mAttributeName;
|
||||
|
||||
PRPackedBool mGotState; // do we know the state yet?
|
||||
PRPackedBool mState; // is this style "on" ?
|
||||
|
@ -82,7 +82,7 @@ nsHTMLEditorLog::SetInlineProperty(nsIAtom *aProperty, const nsAReadableString &
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsHTMLEditorLog::SetParagraphFormat(const nsString& aParagraphFormat)
|
||||
nsHTMLEditorLog::SetParagraphFormat(const nsAString& aParagraphFormat)
|
||||
{
|
||||
nsAutoHTMLEditorLogLock logLock(this);
|
||||
|
||||
|
@ -56,7 +56,7 @@ public:
|
||||
NS_IMETHOD SetInlineProperty(nsIAtom *aProperty,
|
||||
const nsAReadableString & aAttribute,
|
||||
const nsAReadableString & aValue);
|
||||
NS_IMETHOD SetParagraphFormat(const nsString& aParagraphFormat);
|
||||
NS_IMETHOD SetParagraphFormat(const nsAString& aParagraphFormat);
|
||||
NS_IMETHOD RemoveInlineProperty(nsIAtom *aProperty, const nsAReadableString& aAttribute);
|
||||
NS_IMETHOD DeleteSelection(nsIEditor::EDirection aAction);
|
||||
NS_IMETHOD InsertText(const nsAReadableString& aStringToInsert);
|
||||
|
@ -103,6 +103,8 @@ nsBaseComposerCommand::SetCommandNodeState(const nsAReadableString & aCommandNam
|
||||
nsBaseStateUpdatingCommand::nsBaseStateUpdatingCommand(const char* aTagName)
|
||||
: nsBaseComposerCommand()
|
||||
, mTagName(aTagName)
|
||||
, mGotState(PR_FALSE)
|
||||
, mState(PR_FALSE)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -94,7 +94,6 @@ protected:
|
||||
protected:
|
||||
|
||||
const char* mTagName;
|
||||
const char* mAttributeName;
|
||||
|
||||
PRPackedBool mGotState; // do we know the state yet?
|
||||
PRPackedBool mState; // is this style "on" ?
|
||||
|
@ -82,7 +82,7 @@ nsHTMLEditorLog::SetInlineProperty(nsIAtom *aProperty, const nsAReadableString &
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsHTMLEditorLog::SetParagraphFormat(const nsString& aParagraphFormat)
|
||||
nsHTMLEditorLog::SetParagraphFormat(const nsAString& aParagraphFormat)
|
||||
{
|
||||
nsAutoHTMLEditorLogLock logLock(this);
|
||||
|
||||
|
@ -56,7 +56,7 @@ public:
|
||||
NS_IMETHOD SetInlineProperty(nsIAtom *aProperty,
|
||||
const nsAReadableString & aAttribute,
|
||||
const nsAReadableString & aValue);
|
||||
NS_IMETHOD SetParagraphFormat(const nsString& aParagraphFormat);
|
||||
NS_IMETHOD SetParagraphFormat(const nsAString& aParagraphFormat);
|
||||
NS_IMETHOD RemoveInlineProperty(nsIAtom *aProperty, const nsAReadableString& aAttribute);
|
||||
NS_IMETHOD DeleteSelection(nsIEditor::EDirection aAction);
|
||||
NS_IMETHOD InsertText(const nsAReadableString& aStringToInsert);
|
||||
|
Loading…
Reference in New Issue
Block a user