aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/desktop-file
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 /plugins/desktop-file
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 'plugins/desktop-file')
-rw-r--r--plugins/desktop-file/plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/desktop-file/plugin.cpp b/plugins/desktop-file/plugin.cpp
index 773bc5247..bd6031dae 100644
--- a/plugins/desktop-file/plugin.cpp
+++ b/plugins/desktop-file/plugin.cpp
@@ -198,7 +198,7 @@ show_error_dialog (NPP instance,
nsCOMPtr<nsIDOMWindow> domWin;
mozilla_functions.getvalue (instance, NPNVDOMWindow,
- NS_STATIC_CAST (nsIDOMWindow **, getter_AddRefs (domWin)));
+ static_cast<nsIDOMWindow **>(getter_AddRefs (domWin)));
parent = EphyUtils::FindGtkParent (domWin);
dialog = gtk_message_dialog_new (GTK_WINDOW (parent),