svgtopt/SVG/SVGImpl/src/SVGDocumentImpl.cpp
branchRCL_3
changeset 18 1902ade171ab
parent 17 db5c883ad1c5
--- a/svgtopt/SVG/SVGImpl/src/SVGDocumentImpl.cpp	Tue Aug 31 16:06:58 2010 +0300
+++ b/svgtopt/SVG/SVGImpl/src/SVGDocumentImpl.cpp	Wed Sep 01 12:20:46 2010 +0100
@@ -77,7 +77,7 @@
 #include "SVGTimeContainer.h"
 #include <ezgzip.h>
 
-//#include <caf/caf.h>
+#include <caf/caf.h>
 #include <bautils.h>
 
 // ==========================================================================
@@ -374,7 +374,11 @@
             // ellipse
             return ( MXmlElement * ) CSvgEllipseElementImpl::NewL( (TUint8) position, this );
 
-       case KSvgForeignObjectElement:
+        case KSvgDefsElement:
+			// defs
+        	return ( MXmlElement * ) CSvgDefsElementImpl::NewL((TUint8) position, this);
+
+		case KSvgForeignObjectElement:
 			// foreignObject
     		return ( MXmlElement * ) CSvgForeignObjectElementImpl::NewL((TUint8) position, this);