messagingapp/msgutils/unidatautils/unidatamodel/src/UniSmilModel.cpp
changeset 72 6f657153cbc5
parent 44 36f374c67aa8
--- a/messagingapp/msgutils/unidatautils/unidatamodel/src/UniSmilModel.cpp	Fri Sep 17 08:28:39 2010 +0300
+++ b/messagingapp/msgutils/unidatautils/unidatamodel/src/UniSmilModel.cpp	Mon Oct 04 00:13:15 2010 +0300
@@ -268,7 +268,8 @@
 
     // Create smil node
     TPtrC name( KSMILWREleSmil );
-    CMDXMLElement* root = CMDXMLElement::NewLC( ETrue, dom, name );
+    // coverity[size_error][buffer_alloc]
+	CMDXMLElement* root = CMDXMLElement::NewLC( ETrue, dom, name );
     // Append
     dom->DocumentElement()->AppendChild( root ); // Ownership to dom
     CleanupStack::Pop( root );
@@ -1318,7 +1319,8 @@
 
     TPtrC name( KSMILWREleHead );
     // Create Head node
-    CMDXMLElement* ele = CMDXMLElement::NewLC( ETrue, aDom, name );
+    // coverity[size_error][buffer_alloc]
+	CMDXMLElement* ele = CMDXMLElement::NewLC( ETrue, aDom, name );
     // Append Head in Root node
     aRoot->AppendChild( ele );
 
@@ -1483,6 +1485,7 @@
     // Create Layout node
     if ( !aLayout )
         {
+		// coverity[size_error][buffer_alloc]
         aLayout = CMDXMLElement::NewLC( ETrue, aDom, name );
         // Append Layout in Head
         aRoot->InsertBefore( NULL, aLayout );
@@ -1986,6 +1989,7 @@
     {
     TPtrC name( KSMILWREleBody );
     // Create Body node
+	// coverity[size_error][buffer_alloc]
     CMDXMLElement* body = CMDXMLElement::NewLC( ETrue, aDom, name );
     // Append
     aRoot->AppendChild( body );