* Style fixes (some pointed out by Axel, some others by the vim stylechecker).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37698 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -41,8 +41,8 @@ class BCountry {
|
|||||||
BCountry& operator=(const BCountry& other);
|
BCountry& operator=(const BCountry& other);
|
||||||
virtual ~BCountry();
|
virtual ~BCountry();
|
||||||
|
|
||||||
bool Name(BString&) const;
|
bool Name(BString& name) const;
|
||||||
bool LocaleName(BString&) const;
|
bool LocaleName(BString& name) const;
|
||||||
const char* Code() const;
|
const char* Code() const;
|
||||||
status_t GetIcon(BBitmap* result);
|
status_t GetIcon(BBitmap* result);
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2003-2009, Axel Dörfler, [email protected].
|
* Copyright 2003-2009, Axel Dörfler, [email protected].
|
||||||
* Copyright 2009, Destugues, [email protected].
|
* Copyright 2009-2010, Adrien Destugues, [email protected].
|
||||||
* Distributed under the terms of the MIT License.
|
* Distributed under the terms of the MIT License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -63,7 +63,8 @@ BCountry::BCountry(const BCountry& other)
|
|||||||
{
|
{
|
||||||
fICULocale = new ICU_VERSION::Locale(*other.fICULocale);
|
fICULocale = new ICU_VERSION::Locale(*other.fICULocale);
|
||||||
|
|
||||||
// We could copy these, but we can recreate them when needed from the locale anyway
|
// We could copy these, but we can recreate them when needed from the locale
|
||||||
|
// anyway
|
||||||
fICULongDateFormatter = NULL;
|
fICULongDateFormatter = NULL;
|
||||||
fICUShortDateFormatter = NULL;
|
fICUShortDateFormatter = NULL;
|
||||||
fICULongTimeFormatter = NULL;
|
fICULongTimeFormatter = NULL;
|
||||||
@@ -107,7 +108,8 @@ BCountry::operator=(const BCountry& other)
|
|||||||
|
|
||||||
fICULocale = new ICU_VERSION::Locale(*other.fICULocale);
|
fICULocale = new ICU_VERSION::Locale(*other.fICULocale);
|
||||||
|
|
||||||
// We could copy these, but we can recreate them when needed from the locale anyway
|
// We could copy these, but we can recreate them when needed from the locale
|
||||||
|
// anyway
|
||||||
fICULongDateFormatter = NULL;
|
fICULongDateFormatter = NULL;
|
||||||
fICUShortDateFormatter = NULL;
|
fICUShortDateFormatter = NULL;
|
||||||
fICULongTimeFormatter = NULL;
|
fICULongTimeFormatter = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user