aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyHeaderSniffer.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2007-07-15 18:19:27 +0800
committerChristian Persch <chpe@src.gnome.org>2007-07-15 18:19:27 +0800
commit897c314dffc4a71d0fba525a7a70039c75f6851d (patch)
treeb067d87b98da3c9d35a27e6590a8641a1224593f /embed/mozilla/EphyHeaderSniffer.cpp
parent843c8e008f30143d928aef1fc41f6fa6499c277c (diff)
downloadgsoc2013-epiphany-897c314dffc4a71d0fba525a7a70039c75f6851d.tar
gsoc2013-epiphany-897c314dffc4a71d0fba525a7a70039c75f6851d.tar.gz
gsoc2013-epiphany-897c314dffc4a71d0fba525a7a70039c75f6851d.tar.bz2
gsoc2013-epiphany-897c314dffc4a71d0fba525a7a70039c75f6851d.tar.lz
gsoc2013-epiphany-897c314dffc4a71d0fba525a7a70039c75f6851d.tar.xz
gsoc2013-epiphany-897c314dffc4a71d0fba525a7a70039c75f6851d.tar.zst
gsoc2013-epiphany-897c314dffc4a71d0fba525a7a70039c75f6851d.zip
Use C++ casts. Script from bmo#348748.
2007-07-15 Christian Persch <chpe@gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHistoryListener.cpp: * embed/mozilla/EphyPromptService.cpp: * embed/mozilla/GeckoFormSigningDialog.cpp: * embed/mozilla/GeckoPrintService.cpp: * embed/mozilla/GeckoPrintSession.cpp: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed.cpp: * plugins/desktop-file/plugin.cpp: Use C++ casts. Script from bmo#348748. svn path=/trunk/; revision=7166
Diffstat (limited to 'embed/mozilla/EphyHeaderSniffer.cpp')
-rw-r--r--embed/mozilla/EphyHeaderSniffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/mozilla/EphyHeaderSniffer.cpp b/embed/mozilla/EphyHeaderSniffer.cpp
index 66c19a8a5..6ef9318de 100644
--- a/embed/mozilla/EphyHeaderSniffer.cpp
+++ b/embed/mozilla/EphyHeaderSniffer.cpp
@@ -233,7 +233,7 @@ EphyHeaderSniffer::GetInterface(const nsIID & uuid, void * *result)
EphyBadCertRejector *badCertRejector = new EphyBadCertRejector ();
if (!badCertRejector) return NS_ERROR_OUT_OF_MEMORY;
- *result = NS_STATIC_CAST(nsIBadCertListener*, badCertRejector);
+ *result = static_cast<nsIBadCertListener*>(badCertRejector);
NS_ADDREF (badCertRejector);
return NS_OK;