fep/aknfep/src/aknfepuserdbquerydlg.cpp
changeset 13 3b79bedfdc20
parent 0 eb1f2e154e89
child 19 5e18d8c489d6
--- a/fep/aknfep/src/aknfepuserdbquerydlg.cpp	Tue Feb 02 01:02:04 2010 +0200
+++ b/fep/aknfep/src/aknfepuserdbquerydlg.cpp	Fri Apr 16 15:17:40 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 ) )
             {