javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtcontrolhelper.cpp
branchRCL_3
changeset 60 6c158198356e
parent 19 04becd199f91
--- 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<TText16*>(const_cast<TText8*>(ptr8.Ptr())),
                   length,
                   length);  //lint !e826
-#else
-    return TPtr8(const_cast<TText8*>(ptr8.Ptr()), ptr8.Length(),  ptr8.Length());
-#endif
 }
 
 /*