summaryrefslogtreecommitdiff
path: root/library
authorzecke <zecke>2004-09-10 11:09:28 (UTC)
committer zecke <zecke>2004-09-10 11:09:28 (UTC)
commite64d9e9682e0afefc4fbebe7ba9737e0f86e3ed7 (patch) (unidiff)
treeb3a931b24a7ad2f22ae8c774b0fc2e9eb69c0934 /library
parentd7743f52d37979b3a3f95e8e85fdaad742e1f3c1 (diff)
downloadopie-e64d9e9682e0afefc4fbebe7ba9737e0f86e3ed7.zip
opie-e64d9e9682e0afefc4fbebe7ba9737e0f86e3ed7.tar.gz
opie-e64d9e9682e0afefc4fbebe7ba9737e0f86e3ed7.tar.bz2
Fix warnings of '//' inside the comment
Diffstat (limited to 'library') (more/less context) (ignore whitespace changes)
-rw-r--r--library/backend/stringutil.cpp12
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
@@ -61,11 +61,11 @@ static const char collationHack[] = {
610x19, //C-Y 610x19, //C-Y
620x1a, //C-Z 620x1a, //C-Z
630x1b, //C-[ 630x1b, //C-[
640x1c, //C-\ 640x1c, /* C-\ */
650x1d, //C-] 650x1d, //C-]
660x1e, //C-^ 660x1e, //C-^
670x1f, //C-_ 670x1f, //C-_
68' ', // 68' ', //
69'!', //! 69'!', //!
70'"', //" 70'"', //"
71'#', //# 71'#', //#
@@ -125,7 +125,7 @@ static const char collationHack[] = {
125'Y', //Y 125'Y', //Y
126'Z', //Z 126'Z', //Z
127'[', //[ 127'[', //[
128'\\', //\ 128'\\', /* \ */
129']', //] 129']', //]
130'^', //^ 130'^', //^
131'_', //_ 131'_', //_
@@ -189,7 +189,7 @@ static const char collationHack[] = {
1890x99, //C-M-Y 1890x99, //C-M-Y
1900x9a, //C-M-Z 1900x9a, //C-M-Z
1910x9b, //C-M-[ 1910x9b, //C-M-[
1920x9c, //C-M-\ 1920x9c, /* C-M-\ */
1930x9d, //C-M-] 1930x9d, //C-M-]
1940x9e, //C-M-^ 1940x9e, //C-M-^
1950x9f, //C-M-_ 1950x9f, //C-M-_
@@ -319,7 +319,7 @@ QString buildSortKey( const QString & s1, const QString & s2 )
319 return res; 319 return res;
320} 320}
321 321
322QString buildSortKey( const QString & s1, const QString & s2, 322QString buildSortKey( const QString & s1, const QString & s2,
323 const QString & s3 ) 323 const QString & s3 )
324{ 324{
325 QString res = s1 + QChar( '\0' ) + s2 + QChar( '\0' ) + s3; 325 QString res = s1 + QChar( '\0' ) + s2 + QChar( '\0' ) + s3;
@@ -337,7 +337,7 @@ int compare( const QString & s1, const QString & s2 )
337{ 337{
338 const QChar* u1 = s1.unicode(); 338 const QChar* u1 = s1.unicode();
339 const QChar* u2 = s2.unicode(); 339 const QChar* u2 = s2.unicode();
340 340
341 if ( u1 == u2 ) 341 if ( u1 == u2 )
342 return 0; 342 return 0;
343 if ( u1 == 0 ) 343 if ( u1 == 0 )