diff -r ed3155dbd163 -r 74f0b3eb154c xml/xmldomandxpath/src/xmlengineserializer/xmlengcontenthandler.cpp --- a/xml/xmldomandxpath/src/xmlengineserializer/xmlengcontenthandler.cpp Mon May 03 14:14:40 2010 +0300 +++ b/xml/xmldomandxpath/src/xmlengineserializer/xmlengcontenthandler.cpp Wed Jun 23 20:27:15 2010 +0530 @@ -284,7 +284,7 @@ HBufC8* uri = aUri.DesC().AllocL(); iCachedPrefixes.AppendL(pref); iCachedUris.AppendL(uri); - iCachedErrors.Append(aErrorCode); + User::LeaveIfError(iCachedErrors.Append(aErrorCode)); } /**