* Style fixes pointed out by Axel.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37789 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
235129deb8
commit
1c99030935
|
@ -2,8 +2,6 @@
|
|||
* Copyright 2003-2010, Haiku, Inc.
|
||||
* Distributed under the terms of the MIT Licence.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _COLLATOR_H_
|
||||
#define _COLLATOR_H_
|
||||
|
||||
|
|
|
@ -120,7 +120,7 @@ BCollator::GetSortKey(const char *string, BString *key, int8 strength)
|
|||
if (strength == B_COLLATE_DEFAULT)
|
||||
strength = fStrength;
|
||||
Collator::ECollationStrength icuStrength;
|
||||
switch(strength) {
|
||||
switch (strength) {
|
||||
case B_COLLATE_PRIMARY:
|
||||
icuStrength = Collator::PRIMARY;
|
||||
break;
|
||||
|
@ -164,7 +164,6 @@ BCollator::GetSortKey(const char *string, BString *key, int8 strength)
|
|||
|
||||
if (error == U_ZERO_ERROR)
|
||||
return B_OK;
|
||||
else
|
||||
return B_ERROR;
|
||||
}
|
||||
|
||||
|
@ -176,7 +175,7 @@ BCollator::Compare(const char *a, const char *b, int32 length, int8 strength)
|
|||
if (strength == B_COLLATE_DEFAULT)
|
||||
strength = fStrength;
|
||||
Collator::ECollationStrength icuStrength;
|
||||
switch(strength) {
|
||||
switch (strength) {
|
||||
case B_COLLATE_PRIMARY:
|
||||
icuStrength = Collator::PRIMARY;
|
||||
break;
|
||||
|
@ -228,7 +227,6 @@ BCollator::Archive(BMessage *archive, bool deep) const
|
|||
|
||||
if (error == U_ZERO_ERROR)
|
||||
return status;
|
||||
else
|
||||
return B_ERROR;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue