messagingapp/msgui/unifiededitor/src/msgunieditorattachment.cpp
changeset 51 3507212d340e
parent 48 4f501b74aeb1
child 56 f42d9a78f435
--- a/messagingapp/msgui/unifiededitor/src/msgunieditorattachment.cpp	Tue Aug 03 21:34:40 2010 +0530
+++ b/messagingapp/msgui/unifiededitor/src/msgunieditorattachment.cpp	Fri Aug 06 23:19:50 2010 +0530
@@ -79,8 +79,8 @@
     int at_size = 0;
     TMsgMediaType mediaType = EMsgMediaUnknown;
     
-    UniEditorGenUtils* genUtils = NULL;         
-    QT_TRAP_THROWING(genUtils = new UniEditorGenUtils);
+            
+    UniEditorGenUtils* genUtils = q_check_ptr(new UniEditorGenUtils);
     
     TRAP_IGNORE(genUtils->getFileInfoL(mPath,at_size,
         mMimeType,mediaType));