* 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:
Adrien Destugues 2010-07-28 14:45:54 +00:00
parent 235129deb8
commit 1c99030935
2 changed files with 4 additions and 8 deletions

View File

@ -2,8 +2,6 @@
* Copyright 2003-2010, Haiku, Inc.
* Distributed under the terms of the MIT Licence.
*/
#ifndef _COLLATOR_H_
#define _COLLATOR_H_

View File

@ -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,8 +164,7 @@ BCollator::GetSortKey(const char *string, BString *key, int8 strength)
if (error == U_ZERO_ERROR)
return B_OK;
else
return B_ERROR;
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,8 +227,7 @@ BCollator::Archive(BMessage *archive, bool deep) const
if (error == U_ZERO_ERROR)
return status;
else
return B_ERROR;
return B_ERROR;
}