From 52de2d36a911c68e31eb31fd9987ad2d13d9820c Mon Sep 17 00:00:00 2001 From: Julian Storer Date: Fri, 11 Feb 2011 14:50:20 +0000 Subject: [PATCH] XML parsing performance fix. --- juce_amalgamated.cpp | 2 +- src/text/juce_XmlDocument.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/juce_amalgamated.cpp b/juce_amalgamated.cpp index 5cc28f5b27..ef90894996 100644 --- a/juce_amalgamated.cpp +++ b/juce_amalgamated.cpp @@ -15070,7 +15070,7 @@ void XmlDocument::readChildElements (XmlElement* parent) ++len; } - textElementContent.append (start.getAddress(), len); + textElementContent.appendCharPointer (start, len); } } diff --git a/src/text/juce_XmlDocument.cpp b/src/text/juce_XmlDocument.cpp index de7dbcfd55..2ef1498bfe 100644 --- a/src/text/juce_XmlDocument.cpp +++ b/src/text/juce_XmlDocument.cpp @@ -604,7 +604,7 @@ void XmlDocument::readChildElements (XmlElement* parent) ++len; } - textElementContent.append (start.getAddress(), len); + textElementContent.appendCharPointer (start, len); } }