summaryrefslogtreecommitdiffstats
path: root/src/xmlpatterns/projection/qdocumentprojector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmlpatterns/projection/qdocumentprojector.cpp')
-rw-r--r--src/xmlpatterns/projection/qdocumentprojector.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/xmlpatterns/projection/qdocumentprojector.cpp b/src/xmlpatterns/projection/qdocumentprojector.cpp
index 390329b1..fe768384 100644
--- a/src/xmlpatterns/projection/qdocumentprojector.cpp
+++ b/src/xmlpatterns/projection/qdocumentprojector.cpp
@@ -58,7 +58,7 @@ DocumentProjector::DocumentProjector(const ProjectedExpression::Vector &paths,
Q_ASSERT(m_receiver);
}
-void DocumentProjector::startElement(const QXmlName name)
+void DocumentProjector::startElement(const QXmlName &name)
{
Q_UNUSED(name);
@@ -165,14 +165,14 @@ void DocumentProjector::endElement()
}
}
-void DocumentProjector::attribute(const QXmlName name,
- const QString &value)
+void DocumentProjector::attribute(const QXmlName &name,
+ const QStringRef &value)
{
Q_UNUSED(name);
Q_UNUSED(value);
}
-void DocumentProjector::namespaceBinding(const QXmlName nb)
+void DocumentProjector::namespaceBinding(const QXmlName &nb)
{
Q_UNUSED(nb);
}
@@ -184,12 +184,12 @@ void DocumentProjector::comment(const QString &value)
Q_UNUSED(value);
}
-void DocumentProjector::characters(const QString &value)
+void DocumentProjector::characters(const QStringRef &value)
{
Q_UNUSED(value);
}
-void DocumentProjector::processingInstruction(const QXmlName name,
+void DocumentProjector::processingInstruction(const QXmlName &name,
const QString &value)
{
Q_ASSERT_X(!value.contains(QLatin1String("?>")), Q_FUNC_INFO,