summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Parser/PayloadParsers/VCardUpdateParser.cpp')
-rw-r--r--Swiften/Parser/PayloadParsers/VCardUpdateParser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/Parser/PayloadParsers/VCardUpdateParser.cpp b/Swiften/Parser/PayloadParsers/VCardUpdateParser.cpp
index 08d2d35..2218d75 100644
--- a/Swiften/Parser/PayloadParsers/VCardUpdateParser.cpp
+++ b/Swiften/Parser/PayloadParsers/VCardUpdateParser.cpp
@@ -11,21 +11,21 @@ namespace Swift {
VCardUpdateParser::VCardUpdateParser() : level_(TopLevel) {
}
-void VCardUpdateParser::handleStartElement(const String&, const String&, const AttributeMap&) {
+void VCardUpdateParser::handleStartElement(const std::string&, const std::string&, const AttributeMap&) {
if (level_ == PayloadLevel) {
currentText_ = "";
}
++level_;
}
-void VCardUpdateParser::handleEndElement(const String& element, const String&) {
+void VCardUpdateParser::handleEndElement(const std::string& element, const std::string&) {
--level_;
if (level_ == PayloadLevel && element == "photo") {
getPayloadInternal()->setPhotoHash(currentText_);
}
}
-void VCardUpdateParser::handleCharacterData(const String& text) {
+void VCardUpdateParser::handleCharacterData(const std::string& text) {
currentText_ += text;
}