[kazehakase-svn] [3364] Use static_cast.

Back to archive index

svnno****@sourc***** svnno****@sourc*****
Tue Feb 19 15:55:25 JST 2008


Revision: 3364
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3364
Author:   ikezoe
Date:     2008-02-19 15:55:25 +0900 (Tue, 19 Feb 2008)

Log Message:
-----------
Use static_cast.

Modified Paths:
--------------
    kazehakase/trunk/module/embed/gecko/gtkmozembed/MozillaPrivate.cpp
    kazehakase/trunk/module/embed/gecko/gtkmozembed/gtkmozembed2.cpp

Modified: kazehakase/trunk/module/embed/gecko/gtkmozembed/MozillaPrivate.cpp
===================================================================
--- kazehakase/trunk/module/embed/gecko/gtkmozembed/MozillaPrivate.cpp	2008-02-19 06:50:09 UTC (rev 3363)
+++ kazehakase/trunk/module/embed/gecko/gtkmozembed/MozillaPrivate.cpp	2008-02-19 06:55:25 UTC (rev 3364)
@@ -125,8 +125,7 @@
   	nsCOMPtr<nsIWidget> mainWidget;
 	window->GetMainWidget(getter_AddRefs(mainWidget));
 	GdkWindow *gdk_window;
-	gdk_window = NS_STATIC_CAST(GdkWindow *,
-			  mainWidget->GetNativeData(NS_NATIVE_WINDOW));
+	gdk_window = static_cast<GdkWindow *>(mainWidget->GetNativeData(NS_NATIVE_WINDOW));
 
 	return gdk_window;
 }

Modified: kazehakase/trunk/module/embed/gecko/gtkmozembed/gtkmozembed2.cpp
===================================================================
--- kazehakase/trunk/module/embed/gecko/gtkmozembed/gtkmozembed2.cpp	2008-02-19 06:50:09 UTC (rev 3363)
+++ kazehakase/trunk/module/embed/gecko/gtkmozembed/gtkmozembed2.cpp	2008-02-19 06:55:25 UTC (rev 3364)
@@ -584,8 +584,7 @@
 
   GtkMozEmbed  *embed = GTK_MOZ_EMBED(widget);;
   EmbedPrivate *embedPrivate = (EmbedPrivate *)embed->data;
-  return NS_STATIC_CAST(AtkObject *,
-                        embedPrivate->GetAtkObjectForCurrentDocument());
+  return static_cast<AtkObject *>(embedPrivate->GetAtkObjectForCurrentDocument());
 }
 #endif /* MOZ_ACCESSIBILITY_ATK */
 




More information about the Kazehakase-cvs mailing list
Back to archive index