summaryrefslogtreecommitdiffstats
path: root/src/xmlpatterns/functions/qpatternmatchingfns.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-05-03 15:13:46 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-03 17:30:35 +0200
commitfd43e238233142bdd6b045c69f9cbb56b3601984 (patch)
tree2d6262f47899458054faa9e4a278db45c3c7ab0f /src/xmlpatterns/functions/qpatternmatchingfns.cpp
parentaa38299ebe4d330b786d09003e5c06909447eae4 (diff)
Change remaining uses of {to,from}Ascii to {to,from}Latin1 [other]
This operation should be a no-op anyway, since at this point in time, the fromAscii and toAscii functions simply call their fromLatin1 and toLatin1 counterparts. Task-number: QTBUG-21872 Change-Id: Ib84e307f486cb3049f0b61a667caa40799394f86 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/xmlpatterns/functions/qpatternmatchingfns.cpp')
-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 27c7dd44..4e5848dc 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 '$':
{