From 42402a1672ba47457c27cc6efacb763030f0121a Mon Sep 17 00:00:00 2001 From: Ritt Konstantin Date: Tue, 18 Oct 2011 16:44:54 +0200 Subject: replace 'const QChar &' with 'QChar ' for QChar and QString Merge-request: 69 Reviewed-by: Oswald Buddenhagen Change-Id: I61f5a54b783252029fcad95677958fa6a2130d01 Reviewed-by: Olivier Goffart --- util/unicode/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util') diff --git a/util/unicode/main.cpp b/util/unicode/main.cpp index e2596c799f..e3727a0629 100644 --- a/util/unicode/main.cpp +++ b/util/unicode/main.cpp @@ -398,11 +398,11 @@ static const char *property_string = static const char *methods = " Q_CORE_EXPORT QUnicodeTables::LineBreakClass QT_FASTCALL lineBreakClass(uint ucs4);\n" - " inline int lineBreakClass(const QChar &ch)\n" + " inline int lineBreakClass(QChar ch)\n" " { return lineBreakClass(ch.unicode()); }\n" "\n" " Q_CORE_EXPORT int QT_FASTCALL script(uint ucs4);\n" - " inline int script(const QChar &ch)\n" + " inline int script(QChar ch)\n" " { return script(ch.unicode()); }\n\n"; static const int SizeOfPropertiesStruct = 20; -- cgit v1.2.3