Fix AIX and OS/2 bustage by using normal |const|-ness conventions. r=harishd

This commit is contained in:
dbaron%fas.harvard.edu 2002-01-09 18:15:36 +00:00
Родитель e93a1f44a1
Коммит d10f08aa1f
6 изменённых файлов: 40 добавлений и 40 удалений

Просмотреть файл

@ -188,9 +188,9 @@ nsXBLContentSink::FlushText(PRBool aCreateTextNode,
NS_IMETHODIMP
nsXBLContentSink::HandleStartElement(const PRUnichar *aName,
const PRUnichar **aAtts,
const PRUint32 aAttsCount,
const PRUint32 aIndex,
const PRUint32 aLineNumber)
PRUint32 aAttsCount,
PRUint32 aIndex,
PRUint32 aLineNumber)
{
nsresult rv = nsXMLContentSink::HandleStartElement(aName,aAtts,aAttsCount,aIndex,aLineNumber);
if (NS_FAILED(rv))

Просмотреть файл

@ -1177,9 +1177,9 @@ nsXMLContentSink::GetElementFactory(PRInt32 aNameSpaceID,
NS_IMETHODIMP
nsXMLContentSink::HandleStartElement(const PRUnichar *aName,
const PRUnichar **aAtts,
const PRUint32 aAttsCount,
const PRUint32 aIndex,
const PRUint32 aLineNumber)
PRUint32 aAttsCount,
PRUint32 aIndex,
PRUint32 aLineNumber)
{
nsresult result = NS_OK;
PRBool isHTML = PR_FALSE;

Просмотреть файл

@ -862,9 +862,9 @@ NS_NewXULContentSink(nsIXULContentSink** aResult)
NS_IMETHODIMP
XULContentSinkImpl::HandleStartElement(const PRUnichar *aName,
const PRUnichar **aAtts,
const PRUint32 aAttsCount,
const PRUint32 aIndex,
const PRUint32 aLineNumber)
PRUint32 aAttsCount,
PRUint32 aIndex,
PRUint32 aLineNumber)
{
// XXX Hopefully the parser will flag this before we get here. If
// we're in the epilog, there should be no new elements

Просмотреть файл

@ -41,27 +41,27 @@
[scriptable, uuid(1DEEA160-C661-11d5-84CC-0010A4E0C706)]
interface nsIExpatSink : nsISupports
{
void HandleStartElement([const] in wstring aName,
void HandleStartElement(in wstring aName,
[array, size_is (aAttsCount)] in wstring aAtts,
[const] in unsigned long aAttsCount,
[const] in unsigned long aIndex,
[const] in unsigned long aLineNumber);
in unsigned long aAttsCount,
in unsigned long aIndex,
in unsigned long aLineNumber);
void HandleEndElement([const] in wstring aName);
void HandleEndElement(in wstring aName);
void HandleComment([const] in wstring aName);
void HandleComment(in wstring aName);
void HandleCDataSection([const] in wstring aData,
[const] in unsigned long aLength);
void HandleCDataSection(in wstring aData,
in unsigned long aLength);
void HandleDoctypeDecl([const] in wstring aDoctype);
void HandleDoctypeDecl(in wstring aDoctype);
void HandleCharacterData([const] in wstring aData,
[const] in unsigned long aLength);
void HandleCharacterData(in wstring aData,
in unsigned long aLength);
void HandleProcessingInstruction([const] in wstring aTarget,
[const] in wstring aData);
void HandleProcessingInstruction(in wstring aTarget,
in wstring aData);
void ReportError([const] in wstring aErrorText,
[const] in wstring aSourceText);
void ReportError(in wstring aErrorText,
in wstring aSourceText);
};

Просмотреть файл

@ -41,27 +41,27 @@
[scriptable, uuid(1DEEA160-C661-11d5-84CC-0010A4E0C706)]
interface nsIExpatSink : nsISupports
{
void HandleStartElement([const] in wstring aName,
void HandleStartElement(in wstring aName,
[array, size_is (aAttsCount)] in wstring aAtts,
[const] in unsigned long aAttsCount,
[const] in unsigned long aIndex,
[const] in unsigned long aLineNumber);
in unsigned long aAttsCount,
in unsigned long aIndex,
in unsigned long aLineNumber);
void HandleEndElement([const] in wstring aName);
void HandleEndElement(in wstring aName);
void HandleComment([const] in wstring aName);
void HandleComment(in wstring aName);
void HandleCDataSection([const] in wstring aData,
[const] in unsigned long aLength);
void HandleCDataSection(in wstring aData,
in unsigned long aLength);
void HandleDoctypeDecl([const] in wstring aDoctype);
void HandleDoctypeDecl(in wstring aDoctype);
void HandleCharacterData([const] in wstring aData,
[const] in unsigned long aLength);
void HandleCharacterData(in wstring aData,
in unsigned long aLength);
void HandleProcessingInstruction([const] in wstring aTarget,
[const] in wstring aData);
void HandleProcessingInstruction(in wstring aTarget,
in wstring aData);
void ReportError([const] in wstring aErrorText,
[const] in wstring aSourceText);
void ReportError(in wstring aErrorText,
in wstring aSourceText);
};

Просмотреть файл

@ -627,7 +627,7 @@ RDFContentSinkImpl::HandleProcessingInstruction(const PRUnichar *aTarget,
NS_IMETHODIMP
RDFContentSinkImpl::ReportError(const PRUnichar* aErrorText,
const PRUnichar* aSourceText)
const PRUnichar* aSourceText)
{
return NS_OK;
}