diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-11-02 11:21:02 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-11-02 11:21:02 +0000 |
commit | 34ca358046653b26d248929595e5d9df3876d0ce (patch) | |
tree | 40832722c276a7ee400bf3aba5d5beddc9ebd2bc /sj2 | |
parent | 453fc3c93f2ebf7505c6e9485bb74f60fc8e2667 (diff) |
INTEGRATION: CWS os2port02 (1.29.6); FILE MERGED
2007/09/30 12:00:48 ydario 1.29.6.1: Issue number: i82034
Submitted by: ydario
Reviewed by: ydario
Commit of changes for OS/2 CWS source code integration.
Diffstat (limited to 'sj2')
-rw-r--r-- | sj2/source/jscpp/sjapplet_impl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sj2/source/jscpp/sjapplet_impl.cxx b/sj2/source/jscpp/sjapplet_impl.cxx index e1acc04853c8..86d7704acd1b 100644 --- a/sj2/source/jscpp/sjapplet_impl.cxx +++ b/sj2/source/jscpp/sjapplet_impl.cxx @@ -4,9 +4,9 @@ * * $RCSfile: sjapplet_impl.cxx,v $ * - * $Revision: 1.29 $ + * $Revision: 1.30 $ * - * last change: $Author: rt $ $Date: 2007-07-05 08:06:56 $ + * last change: $Author: hr $ $Date: 2007-11-02 12:21:02 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -233,7 +233,7 @@ EmbeddedWindow::EmbeddedWindow(JNIEnv * pEnv, SystemEnvData const * pEnvData) th { jclass jcFrame = pEnv->FindClass("java/awt/Frame"); testJavaException(pEnv); jmethodID jmFrame_rinit = pEnv->GetMethodID(jcFrame, "<init>", "()V"); testJavaException(pEnv); -joFrame = pEnv->AllocObject(jcFrame); testJavaException(pEnv); +jobject joFrame = pEnv->AllocObject(jcFrame); testJavaException(pEnv); pEnv->CallVoidMethod(joFrame, jmFrame_rinit); testJavaException(pEnv); _joWindow = pEnv->NewGlobalRef(joFrame); |