summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Parser/PayloadParsers/BodyParser.cpp')
-rw-r--r--Swiften/Parser/PayloadParsers/BodyParser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/Parser/PayloadParsers/BodyParser.cpp b/Swiften/Parser/PayloadParsers/BodyParser.cpp
index 3f76101..d0f4e09 100644
--- a/Swiften/Parser/PayloadParsers/BodyParser.cpp
+++ b/Swiften/Parser/PayloadParsers/BodyParser.cpp
@@ -11,18 +11,18 @@ namespace Swift {
BodyParser::BodyParser() : level_(0) {
}
-void BodyParser::handleStartElement(const String&, const String&, const AttributeMap&) {
+void BodyParser::handleStartElement(const std::string&, const std::string&, const AttributeMap&) {
++level_;
}
-void BodyParser::handleEndElement(const String&, const String&) {
+void BodyParser::handleEndElement(const std::string&, const std::string&) {
--level_;
if (level_ == 0) {
getPayloadInternal()->setText(text_);
}
}
-void BodyParser::handleCharacterData(const String& data) {
+void BodyParser::handleCharacterData(const std::string& data) {
text_ += data;
}