mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Correct function signature to fix Solaris bustage.
This commit is contained in:
parent
40b19c39c4
commit
d77a12e38a
@ -193,7 +193,7 @@ nsLoadSaveContentSink::HandleProcessingInstruction(const PRUnichar *aTarget,
|
||||
NS_IMETHODIMP
|
||||
nsLoadSaveContentSink::HandleXMLDeclaration(const PRUnichar *aVersion,
|
||||
const PRUnichar *aEncoding,
|
||||
const PRInt32 aStandalone)
|
||||
PRInt32 aStandalone)
|
||||
{
|
||||
return mExpatSink->HandleXMLDeclaration(aVersion, aEncoding, aStandalone);
|
||||
}
|
||||
|
@ -1234,7 +1234,7 @@ nsXMLContentSink::HandleProcessingInstruction(const PRUnichar *aTarget,
|
||||
NS_IMETHODIMP
|
||||
nsXMLContentSink::HandleXMLDeclaration(const PRUnichar *aVersion,
|
||||
const PRUnichar *aEncoding,
|
||||
const PRInt32 aStandalone)
|
||||
PRInt32 aStandalone)
|
||||
{
|
||||
mDocument->SetXMLDeclaration(aVersion, aEncoding, aStandalone);
|
||||
|
||||
|
@ -70,8 +70,9 @@ public:
|
||||
nsISupports* aCatalogData);
|
||||
NS_IMETHOD HandleProcessingInstruction(const PRUnichar *aTarget,
|
||||
const PRUnichar *aData);
|
||||
NS_IMETHOD HandleXMLDeclaration(const PRUnichar *aData,
|
||||
PRUint32 aLength);
|
||||
NS_IMETHOD HandleXMLDeclaration(const PRUnichar *aVersion,
|
||||
const PRUnichar *aEncoding,
|
||||
PRInt32 aStandalone);
|
||||
NS_IMETHOD ReportError(const PRUnichar* aErrorText,
|
||||
const PRUnichar* aSourceText);
|
||||
|
||||
@ -287,8 +288,9 @@ nsXMLFragmentContentSink::HandleProcessingInstruction(const PRUnichar *aTarget,
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsXMLFragmentContentSink::HandleXMLDeclaration(const PRUnichar *aData,
|
||||
PRUint32 aLength)
|
||||
nsXMLFragmentContentSink::HandleXMLDeclaration(const PRUnichar *aVersion,
|
||||
const PRUnichar *aEncoding,
|
||||
PRInt32 aStandalone)
|
||||
{
|
||||
NS_NOTREACHED("fragments shouldn't have XML declarations");
|
||||
return NS_OK;
|
||||
|
@ -989,7 +989,7 @@ XULContentSinkImpl::HandleProcessingInstruction(const PRUnichar *aTarget,
|
||||
NS_IMETHODIMP
|
||||
XULContentSinkImpl::HandleXMLDeclaration(const PRUnichar *aVersion,
|
||||
const PRUnichar *aEncoding,
|
||||
const PRInt32 aStandalone)
|
||||
PRInt32 aStandalone)
|
||||
{
|
||||
return NS_OK;
|
||||
}
|
||||
|
@ -225,7 +225,7 @@ txStylesheetSink::HandleProcessingInstruction(const PRUnichar *aTarget,
|
||||
NS_IMETHODIMP
|
||||
txStylesheetSink::HandleXMLDeclaration(const PRUnichar *aVersion,
|
||||
const PRUnichar *aEncoding,
|
||||
const PRInt32 aStandalone)
|
||||
PRInt32 aStandalone)
|
||||
{
|
||||
return NS_OK;
|
||||
}
|
||||
|
@ -441,7 +441,7 @@ nsExpatDriver::HandleProcessingInstruction(const PRUnichar *aTarget,
|
||||
nsresult
|
||||
nsExpatDriver::HandleXMLDeclaration(const PRUnichar *aVersion,
|
||||
const PRUnichar *aEncoding,
|
||||
const PRInt32 aStandalone)
|
||||
PRInt32 aStandalone)
|
||||
{
|
||||
return mSink->HandleXMLDeclaration(aVersion, aEncoding, aStandalone);
|
||||
}
|
||||
|
@ -72,7 +72,7 @@ public:
|
||||
const PRUnichar *aData);
|
||||
nsresult HandleXMLDeclaration(const PRUnichar *aVersion,
|
||||
const PRUnichar *aEncoding,
|
||||
const PRInt32 aStandalone);
|
||||
PRInt32 aStandalone);
|
||||
nsresult HandleDefault(const PRUnichar *aData, const PRUint32 aLength);
|
||||
nsresult HandleStartCdataSection();
|
||||
nsresult HandleEndCdataSection();
|
||||
|
Loading…
Reference in New Issue
Block a user