{
if ( data )
{
- InputMethodContextX* inputMethodContext = reinterpret_cast< InputMethodContextX* > ( data );
+ InputMethodContextX* inputMethodContext = static_cast< InputMethodContextX* >( data );
inputMethodContext->CommitReceived( data, imfContext, eventInfo );
}
}
{
if ( data )
{
- InputMethodContextX* inputMethodContext = reinterpret_cast< InputMethodContextX* > ( data );
+ InputMethodContextX* inputMethodContext = static_cast< InputMethodContextX* >( data );
inputMethodContext->PreEditChanged( data, imfContext, eventInfo );
}
}
{
if ( data )
{
- InputMethodContextX* inputMethodContext = reinterpret_cast< InputMethodContextX* > ( data );
+ InputMethodContextX* inputMethodContext = static_cast< InputMethodContextX* >( data );
return inputMethodContext->RetrieveSurrounding( data, imfContext, text, cursorPosition );
}
else
{
if ( data )
{
- InputMethodContextX* inputMethodContext = reinterpret_cast< InputMethodContextX* > ( data );
+ InputMethodContextX* inputMethodContext = static_cast< InputMethodContextX* >( data );
inputMethodContext->DeleteSurrounding( data, imfContext, eventInfo );
}
}
void InputMethodContextX::PreEditChanged( void*, ImfContext* imfContext, void* eventInfo )
{
DALI_LOG_INFO( gLogFilter, Debug::General, "InputMethodContextX::PreEditChanged\n" );
- auto context = reinterpret_cast<Ecore_IMF_Context*>(imfContext);
+ auto context = static_cast<Ecore_IMF_Context*>( imfContext );
char* preEditString( NULL );
int cursorPosition( 0 );