svgtopt/SVG/SVGImpl/src/SVGTextElementImpl.cpp
branchRCL_3
changeset 17 db5c883ad1c5
parent 0 d46562c3d99d
child 18 1902ade171ab
--- a/svgtopt/SVG/SVGImpl/src/SVGTextElementImpl.cpp	Tue May 11 17:02:26 2010 +0300
+++ b/svgtopt/SVG/SVGImpl/src/SVGTextElementImpl.cpp	Tue Aug 31 16:06:58 2010 +0300
@@ -2885,12 +2885,7 @@
     		//SetFontFamilyL(_L("NokiaSansWide"));
     		if(!aReturn)
     		    {
-    		      if(lNewFontDoc)
-    		        {
-    		            delete lNewFontDoc;
-                        lNewFontDoc = NULL;  
-    		        }
-    		      
+	            delete lNewFontDoc;
     		    }
     		return ETrue;
     	}
@@ -2904,7 +2899,6 @@
     }
 
     delete lNewFontDoc;
-    lNewFontDoc = NULL;
     return EFalse;
 }