author | zecke <zecke> | 2004-09-10 11:09:28 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-09-10 11:09:28 (UTC) |
commit | e64d9e9682e0afefc4fbebe7ba9737e0f86e3ed7 (patch) (side-by-side diff) | |
tree | b3a931b24a7ad2f22ae8c774b0fc2e9eb69c0934 | |
parent | d7743f52d37979b3a3f95e8e85fdaad742e1f3c1 (diff) | |
download | opie-e64d9e9682e0afefc4fbebe7ba9737e0f86e3ed7.zip opie-e64d9e9682e0afefc4fbebe7ba9737e0f86e3ed7.tar.gz opie-e64d9e9682e0afefc4fbebe7ba9737e0f86e3ed7.tar.bz2 |
Fix warnings of '//' inside the comment
-rw-r--r-- | library/backend/stringutil.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/library/backend/stringutil.cpp b/library/backend/stringutil.cpp index b5fbd3e..f1ad1b9 100644 --- a/library/backend/stringutil.cpp +++ b/library/backend/stringutil.cpp @@ -60,13 +60,13 @@ static const char collationHack[] = { 0x18, //C-X 0x19, //C-Y 0x1a, //C-Z 0x1b, //C-[ -0x1c, //C-\ +0x1c, /* C-\ */ 0x1d, //C-] 0x1e, //C-^ 0x1f, //C-_ -' ', // +' ', // '!', //! '"', //" '#', //# '$', //$ @@ -124,9 +124,9 @@ static const char collationHack[] = { 'X', //X 'Y', //Y 'Z', //Z '[', //[ -'\\', //\ +'\\', /* \ */ ']', //] '^', //^ '_', //_ '`', //` @@ -188,9 +188,9 @@ static const char collationHack[] = { 0x98, //C-M-X 0x99, //C-M-Y 0x9a, //C-M-Z 0x9b, //C-M-[ -0x9c, //C-M-\ +0x9c, /* C-M-\ */ 0x9d, //C-M-] 0x9e, //C-M-^ 0x9f, //C-M-_ ' ', // @@ -318,9 +318,9 @@ QString buildSortKey( const QString & s1, const QString & s2 ) hackString( res ); return res; } -QString buildSortKey( const QString & s1, const QString & s2, +QString buildSortKey( const QString & s1, const QString & s2, const QString & s3 ) { QString res = s1 + QChar( '\0' ) + s2 + QChar( '\0' ) + s3; hackString( res ); @@ -336,9 +336,9 @@ static inline QChar coll( QChar u ) int compare( const QString & s1, const QString & s2 ) { const QChar* u1 = s1.unicode(); const QChar* u2 = s2.unicode(); - + if ( u1 == u2 ) return 0; if ( u1 == 0 ) return 1; |