diff -r e5618cc85d74 -r 6c158198356e javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtcontrolhelper.cpp --- a/javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtcontrolhelper.cpp Thu Jul 15 18:31:06 2010 +0300 +++ b/javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtcontrolhelper.cpp Thu Aug 19 09:48:13 2010 +0300 @@ -222,13 +222,9 @@ CleanupStack::PushL(buffer); TPtrC8 ptr8(buffer->Ptr(0)); -#ifdef _UNICODE return TPtr16(reinterpret_cast(const_cast(ptr8.Ptr())), length, length); //lint !e826 -#else - return TPtr8(const_cast(ptr8.Ptr()), ptr8.Length(), ptr8.Length()); -#endif } /*