зеркало из https://github.com/mozilla/pjs.git
removed calls to deprecated stringm ethods
This commit is contained in:
Родитель
7c4f6b3293
Коммит
ae0bf903bb
|
@ -176,7 +176,7 @@ nsMathMLOperators::ReleaseTable(void)
|
|||
|
||||
|
||||
PRBool
|
||||
nsMathMLOperators::LookupOperator(const nsStr& aOperator,
|
||||
nsMathMLOperators::LookupOperator(const nsString& aOperator,
|
||||
const nsOperatorFlags aForm,
|
||||
nsOperatorFlags* aFlags,
|
||||
float* aLeftSpace,
|
||||
|
@ -217,6 +217,19 @@ nsMathMLOperators::LookupOperator(const nsStr& aOperator,
|
|||
}
|
||||
|
||||
|
||||
|
||||
PRBool
|
||||
nsMathMLOperators::LookupOperator(const nsCString& aOperator,
|
||||
const nsOperatorFlags aForm,
|
||||
nsOperatorFlags* aFlags,
|
||||
float* aLeftSpace,
|
||||
float* aRightSpace)
|
||||
{
|
||||
nsAutoString theOperator(aOperator);
|
||||
return LookupOperator(theOperator,aForm,aFlags,aLeftSpace,aRightSpace);
|
||||
}
|
||||
|
||||
|
||||
#if 0
|
||||
// DEBUG
|
||||
// BEGIN TEST CODE:
|
||||
|
|
|
@ -116,7 +116,13 @@ public:
|
|||
// output parameter aFlags to know exactly under which form the operator was
|
||||
// found in the operator dictionary.
|
||||
|
||||
static PRBool LookupOperator(const nsStr& aOperator,
|
||||
static PRBool LookupOperator(const nsString& aOperator,
|
||||
const nsOperatorFlags aForm,
|
||||
nsOperatorFlags* aFlags,
|
||||
float* aLeftSpace,
|
||||
float* aRightSpace);
|
||||
|
||||
static PRBool LookupOperator(const nsCString& aOperator,
|
||||
const nsOperatorFlags aForm,
|
||||
nsOperatorFlags* aFlags,
|
||||
float* aLeftSpace,
|
||||
|
|
Загрузка…
Ссылка в новой задаче