summaryrefslogtreecommitdiff
path: root/src/xmlpatterns/functions
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmlpatterns/functions')
-rw-r--r--src/xmlpatterns/functions/qpatternmatchingfns.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlpatterns/functions/qpatternmatchingfns.cpp b/src/xmlpatterns/functions/qpatternmatchingfns.cpp
index 27c7dd4..4e5848d 100644
--- a/src/xmlpatterns/functions/qpatternmatchingfns.cpp
+++ b/src/xmlpatterns/functions/qpatternmatchingfns.cpp
@@ -111,7 +111,7 @@ QString ReplaceFN::parseReplacement(const int,
for(int i = 0; i < len; ++i)
{
const QChar ch(input.at(i));
- switch(ch.toAscii())
+ switch(ch.toLatin1())
{
case '$':
{