diff -r db5c883ad1c5 -r 1902ade171ab svgtopt/SVG/SVGImpl/src/SVGDocumentImpl.cpp --- 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 -//#include +#include #include // ========================================================================== @@ -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);