[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeaccessibility/kmouth
From: Thomas Häber <thomas () haeber ! de>
Date: 2006-09-25 23:29:55
Message-ID: 1159226995.297772.25451.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 588432 by haeber:
replaced single character from QString to QChar (1. with escaped single quotes, \
should still be faster as QString without escaped single quote; 2. in \
QByteArray-context, cause it inherits from QString it should be faster, too) (EBN)
M +1 -1 phrasebook/phrasebook.cpp
M +1 -1 speech.cpp
--- trunk/KDE/kdeaccessibility/kmouth/phrasebook/phrasebook.cpp #588431:588432
@@ -157,7 +157,7 @@
ushort uc = ch.unicode();
QByteArray number; number.setNum(uc);
if ((uc>127) || (uc<32) || (ch=='<') || (ch=='>') || (ch=='&') || (ch==';'))
- res = res + "&#" + number + ";";
+ res = res + "&#" + number + ';';
else
res = res + (char)uc;
}
--- trunk/KDE/kdeaccessibility/kmouth/speech.cpp #588431:588432
@@ -157,7 +157,7 @@
if (isdoublequote)
v='"'+v+'"';
else if (issinglequote)
- v="'"+v+"'";
+ v='\''+v+'\'';
command.replace (i, match.length(), v);
i+=v.length();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic