equal
deleted
inserted
replaced
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 ); |