Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot
git-svn-id: svn://10.0.0.236/trunk@59537 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
* Contributor(s):
|
||||
* Roger B. Sidje <rbs@maths.uq.edu.au>
|
||||
* David J. Fiddes <D.J.Fiddes@hw.ac.uk>
|
||||
* Pierre Phaneuf <pp@ludusdesign.com>
|
||||
*/
|
||||
|
||||
#include "nsCOMPtr.h"
|
||||
@@ -361,7 +362,7 @@ nsMathMLmoFrame::InitData(nsIPresContext* aPresContext)
|
||||
// Check to see if we are really the 'core' of the ancestor, not just a sibling of the core
|
||||
if (hasEmbellishAncestor && embellishAncestor) {
|
||||
hasEmbellishAncestor = PR_FALSE;
|
||||
rv = embellishAncestor->QueryInterface(nsIMathMLFrame::GetIID(), (void**)&aMathMLFrame);
|
||||
rv = embellishAncestor->QueryInterface(NS_GET_IID(nsIMathMLFrame), (void**)&aMathMLFrame);
|
||||
if (NS_SUCCEEDED(rv) && aMathMLFrame) {
|
||||
nsEmbellishData embellishData;
|
||||
aMathMLFrame->GetEmbellishData(embellishData);
|
||||
|
||||
Reference in New Issue
Block a user