mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-18 10:39:09 +08:00
natEmbeddedWindow.cc (setWindowPeer): Removed lvalue cast; use correct rvalue cast.
* gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed lvalue cast; use correct rvalue cast. From-SVN: r71076
This commit is contained in:
parent
5f1e32fad7
commit
7f09034f0f
@ -1,3 +1,8 @@
|
||||
2003-09-04 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
|
||||
lvalue cast; use correct rvalue cast.
|
||||
|
||||
2003-09-02 Thomas Fitzsimmons <fitzsim@redhat.com>
|
||||
|
||||
* gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
|
||||
@ -26,6 +31,7 @@
|
||||
* java/util/logging/LogManager.java: create handlers
|
||||
* java/util/logging/SimpleFormatter.java: print souceClassName and
|
||||
sourceMethodName
|
||||
|
||||
2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
|
||||
|
||||
* win32.cc: fixed tab, indentation and whitespace
|
||||
|
@ -8,10 +8,11 @@ details. */
|
||||
|
||||
#include <gnu/java/awt/EmbeddedWindow.h>
|
||||
#include <gnu/java/awt/peer/EmbeddedWindowPeer.h>
|
||||
#include <java/awt/peer/ComponentPeer.h>
|
||||
|
||||
void
|
||||
gnu::java::awt::EmbeddedWindow::setWindowPeer (gnu::java::awt::peer::EmbeddedWindowPeer* w)
|
||||
{
|
||||
if (!peer)
|
||||
(::java::lang::Object*) peer = (::java::lang::Object*) w;
|
||||
peer = reinterpret_cast< ::java::awt::peer::ComponentPeer *> (w);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user