diff -r 443d52b01c62 -r df65ec4f2d28 svgtopt/SVG/SVGEngine/src/Svgdecoder.cpp --- a/svgtopt/SVG/SVGEngine/src/Svgdecoder.cpp Fri Apr 16 15:55:53 2010 +0300 +++ b/svgtopt/SVG/SVGEngine/src/Svgdecoder.cpp Mon May 03 13:22:17 2010 +0300 @@ -2511,30 +2511,20 @@ // --------------------------------------------------------------------------- TBool CSvgDecoder::DecodeIdAndXmlAttributeL(const TUint16 aName) { - + TBool rVal = EFalse; if (aName== KAtrId) { - iCurrentElement->SetIdandXmlbaseL( _L("id"), DecodeTDesCLC()); - CleanupStack::PopAndDestroy( 1 ); - return ETrue; + rVal = iCurrentElement->SetIdandXmlbaseL( _L("id"), DecodeTDesCLC()); + CleanupStack::PopAndDestroy( 1 ); } - - if (aName== KAtrXmlBase) + else if (aName== KAtrXmlBase) { - iCurrentElement->SetIdandXmlbaseL( _L("xml:base"), DecodeTDesCLC()); - CleanupStack::PopAndDestroy( 1 ); - return ETrue; + rVal = iCurrentElement->SetIdandXmlbaseL( _L("xml:base"), DecodeTDesCLC()); + CleanupStack::PopAndDestroy( 1 ); } - - else - { - return EFalse; - } + return rVal; } - - - // -------------------------------------------------------------------------- // TBool CSvgDecoder::DecodeUriRefAttributeL(const TUint16 aName) // ---------------------------------------------------------------------------