Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
This commit is contained in:
@@ -165,7 +165,7 @@ nsPrintingPromptService::ShowProgress(nsIDOMWindow* parent,
|
||||
}
|
||||
}
|
||||
|
||||
*webProgressListener = NS_STATIC_CAST(nsIWebProgressListener*, this);
|
||||
*webProgressListener = static_cast<nsIWebProgressListener*>(this);
|
||||
NS_ADDREF(*webProgressListener);
|
||||
|
||||
return rv;
|
||||
|
||||
Reference in New Issue
Block a user