diff -r d6dafc5d983f -r 1627c337e51e javauis/m2g_qt/src/jni/M2GSVGSVGElement.cpp --- a/javauis/m2g_qt/src/jni/M2GSVGSVGElement.cpp Fri Oct 15 12:29:39 2010 +0300 +++ b/javauis/m2g_qt/src/jni/M2GSVGSVGElement.cpp Fri Oct 29 11:49:32 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2005-2006 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -61,17 +61,17 @@ M2G_DEBUG_0("JNI ( M2GSVGSVGElement ) _getMediaTime - begin"); TReal32 seconds = 0; TInt err = KM2GNotOk; - + M2G_DO_LOCK if (aSvgProxyHandle) - { + { MM2GSVGProxy* aProxy = JavaUnhand(aSvgProxyHandle); - TRAP(err, aProxy->GetMediaTimeL(STATIC_CAST(TM2GSvgDocumentHandle, aDocumentHandle),seconds); ); - } + TRAP(err, aProxy->GetMediaTimeL(STATIC_CAST(TM2GSvgDocumentHandle, aDocumentHandle),seconds);); + } M2G_DO_UNLOCK(aJni) M2GGeneral::CheckErrorCode(aJni, err); - + M2G_DEBUG_1("JNI ( M2GSVGSVGElement ) _getMediaTime: %f - end", seconds); return STATIC_CAST(jfloat, seconds); } @@ -98,19 +98,19 @@ { M2G_DEBUG_0("JNI ( M2GSVGSVGElement ) _setMediaTime - begin"); TInt err = KM2GNotOk; - + TReal32* lseconds = REINTERPRET_CAST(TReal32*, &aSeconds); - + M2G_DO_LOCK if (aSvgProxyHandle) - { + { MM2GSVGProxy* aProxy = JavaUnhand(aSvgProxyHandle); TRAP(err, aProxy->SetMediaTimeL( - STATIC_CAST(TM2GSvgDocumentHandle, aDocumentHandle), - *lseconds); ); - } + STATIC_CAST(TM2GSvgDocumentHandle, aDocumentHandle), + *lseconds);); + } M2G_DO_UNLOCK(aJni) - + M2GGeneral::CheckErrorCode(aJni, err); M2G_DEBUG_1("JNI ( M2GSVGSVGElement ) _setMediaTime: %f - end", aSeconds);