javauis/nokiasound_akn/src/cmidsound.cpp
branchRCL_3
changeset 21 4376525cdefb
parent 17 0fd27995241b
--- a/javauis/nokiasound_akn/src/cmidsound.cpp	Wed Jun 09 09:34:07 2010 +0300
+++ b/javauis/nokiasound_akn/src/cmidsound.cpp	Mon Jun 21 15:32:50 2010 +0300
@@ -197,8 +197,8 @@
 TInt CMIDSound::Play(TInt aLoop)
 {
     JELOG2(EJavaUI);
-    TInt err;
-    CallMethodL(err, this, &CMIDSound::DoPlay, aLoop, this);
+    TInt err = 0;
+    CallMethod(err, this, &CMIDSound::DoPlay, aLoop, this);
     return err;
 }
 
@@ -252,8 +252,8 @@
 TInt CMIDSound::SoundVolume()
 {
     JELOG2(EJavaUI);
-    TInt result;
-    CallMethodL(result, this, &CMIDSound::Volume, this);
+    TInt result = 0;
+    CallMethod(result, this, &CMIDSound::Volume, this);
     return result;
 }
 
@@ -285,8 +285,8 @@
 TInt CMIDSound::PlayerState()
 {
     JELOG2(EJavaUI);
-    TInt result;
-    CallMethodL(result, this, &CMIDSound::State, this);
+    TInt result = 0;
+    CallMethod(result, this, &CMIDSound::State, this);
     return result;
 }