summaryrefslogtreecommitdiffstats
path: root/src/kernel/qscriptengine_x11.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-12-01 23:30:53 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-12-01 23:30:53 -0600
commit6955a7ebe3c3a0ae2af416fc57ca1f3e9af0ecc3 (patch)
tree76f40d456bda2b31029c7fb0354cc22102f435d6 /src/kernel/qscriptengine_x11.cpp
parent4c50ba8f9e58dc81abaf1407cc8b203c28288370 (diff)
downloadtqt3-6955a7ebe3c3a0ae2af416fc57ca1f3e9af0ecc3.tar.gz
tqt3-6955a7ebe3c3a0ae2af416fc57ca1f3e9af0ecc3.zip
Automated update from Qt3
Diffstat (limited to 'src/kernel/qscriptengine_x11.cpp')
-rw-r--r--src/kernel/qscriptengine_x11.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/kernel/qscriptengine_x11.cpp b/src/kernel/qscriptengine_x11.cpp
index fb18aa3e9..e01888f50 100644
--- a/src/kernel/qscriptengine_x11.cpp
+++ b/src/kernel/qscriptengine_x11.cpp
@@ -2725,11 +2725,7 @@ static bool khmer_shape_syllable(TQOpenType *openType, TQShaperItem *item)
#ifndef QT_NO_XFTFREETYPE
if (openType) {
- unsigned short logClusters[16];
- for (int i = 0; i < len; ++i)
- logClusters[i] = i;
-
- uint where[16];
+ uint where[16];
for (int i = 0; i < len; ++i) {
where[i] = ~(PreSubstProperty
@@ -3236,11 +3232,7 @@ static bool myanmar_shape_syllable(TQOpenType *openType, TQShaperItem *item, boo
#ifndef QT_NO_XFTFREETYPE
if (openType) {
- unsigned short logClusters[32];
- for (int i = 0; i < len; ++i)
- logClusters[i] = i;
-
- uint where[32];
+ uint where[32];
for (int i = 0; i < len; ++i) {
where[i] = ~(PreSubstProperty