fep/aknfep/src/aknfepuserdbquerydlg.cpp
branchRCL_3
changeset 7 6defe5d1bd39
parent 0 eb1f2e154e89
child 12 5e18d8c489d6
--- a/fep/aknfep/src/aknfepuserdbquerydlg.cpp	Mon Mar 15 12:42:02 2010 +0200
+++ b/fep/aknfep/src/aknfepuserdbquerydlg.cpp	Wed Mar 31 22:08:20 2010 +0300
@@ -80,7 +80,11 @@
 
         iItemText = editor->GetTextInHBufL();
         TBuf<KTextMaxLength> textbuf;
-        textbuf.Copy( iItemText->Des() );
+        
+        if( iItemText != NULL )
+            {
+            textbuf.Copy( iItemText->Des() );
+            }
         
         if( !iDBEngine->InputPhraseCheck( textbuf ) )
             {