fep/aknfep/src/aknfepuserdbquerydlg.cpp
branchRCL_3
changeset 10 6defe5d1bd39
parent 0 eb1f2e154e89
child 19 5e18d8c489d6
equal deleted inserted replaced
8:6ceef9a83b1a 10:6defe5d1bd39
    78         CEikEdwin* editor = static_cast<CEikEdwin*>
    78         CEikEdwin* editor = static_cast<CEikEdwin*>
    79             ( control->ControlByLayoutOrNull( EDataLayout ) );
    79             ( control->ControlByLayoutOrNull( EDataLayout ) );
    80 
    80 
    81         iItemText = editor->GetTextInHBufL();
    81         iItemText = editor->GetTextInHBufL();
    82         TBuf<KTextMaxLength> textbuf;
    82         TBuf<KTextMaxLength> textbuf;
    83         textbuf.Copy( iItemText->Des() );
    83         
       
    84         if( iItemText != NULL )
       
    85             {
       
    86             textbuf.Copy( iItemText->Des() );
       
    87             }
    84         
    88         
    85         if( !iDBEngine->InputPhraseCheck( textbuf ) )
    89         if( !iDBEngine->InputPhraseCheck( textbuf ) )
    86             {
    90             {
    87             iptrbuf->Zero();
    91             iptrbuf->Zero();
    88             iptrbuf->Copy( textbuf );
    92             iptrbuf->Copy( textbuf );