xml/xmldomandxpath/src/xmlengineserializer/xmlengcontenthandler.cpp
branchGCC_SURGE
changeset 28 7770e7c6cef3
parent 27 450972dee096
--- a/xml/xmldomandxpath/src/xmlengineserializer/xmlengcontenthandler.cpp	Fri Jun 11 16:29:19 2010 +0100
+++ b/xml/xmldomandxpath/src/xmlengineserializer/xmlengcontenthandler.cpp	Thu Jul 22 16:49:54 2010 +0100
@@ -284,7 +284,7 @@
 	HBufC8* uri = aUri.DesC().AllocL();
 	iCachedPrefixes.AppendL(pref);
 	iCachedUris.AppendL(uri);
-	iCachedErrors.Append(aErrorCode);
+	User::LeaveIfError(iCachedErrors.Append(aErrorCode));
 }
 
 /**