Fix some URMs and warnings in editor code, sr=kin, no bug.

This commit is contained in:
sfraser%netscape.com 2001-05-02 23:19:29 +00:00
parent 29f2dec3f7
commit 419f77acfc
8 changed files with 8 additions and 6 deletions

View File

@ -103,6 +103,8 @@ nsBaseComposerCommand::SetCommandNodeState(const nsAReadableString & aCommandNam
nsBaseStateUpdatingCommand::nsBaseStateUpdatingCommand(const char* aTagName)
: nsBaseComposerCommand()
, mTagName(aTagName)
, mGotState(PR_FALSE)
, mState(PR_FALSE)
{
}

View File

@ -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" ?

View File

@ -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);

View File

@ -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);

View File

@ -103,6 +103,8 @@ nsBaseComposerCommand::SetCommandNodeState(const nsAReadableString & aCommandNam
nsBaseStateUpdatingCommand::nsBaseStateUpdatingCommand(const char* aTagName)
: nsBaseComposerCommand()
, mTagName(aTagName)
, mGotState(PR_FALSE)
, mState(PR_FALSE)
{
}

View File

@ -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" ?

View File

@ -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);

View File

@ -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);