diff -r 85266cc22c7f -r f40128debb5d javauis/nokiasound/src/cmidsound.cpp --- a/javauis/nokiasound/src/cmidsound.cpp Fri Jun 11 13:33:44 2010 +0300 +++ b/javauis/nokiasound/src/cmidsound.cpp Wed Jun 23 18:07:10 2010 +0300 @@ -201,8 +201,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; } @@ -256,8 +256,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; } @@ -289,8 +289,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; }