summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qlocale_data_p.h
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-06-09 08:51:26 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-06-09 08:51:56 (GMT)
commit91ceb21d1d5f6447a47853b6625fb51d2f21cf16 (patch)
tree5148e804a2d1bc8e794d8565bd81606f0bac29e0 /src/corelib/tools/qlocale_data_p.h
parent662d1db6ee1a78c298acc11e7528e73c0415fc75 (diff)
downloadQt-91ceb21d1d5f6447a47853b6625fb51d2f21cf16.zip
Qt-91ceb21d1d5f6447a47853b6625fb51d2f21cf16.tar.gz
Qt-91ceb21d1d5f6447a47853b6625fb51d2f21cf16.tar.bz2
small refactoring to reduce memory usage of static data
Diffstat (limited to 'src/corelib/tools/qlocale_data_p.h')
-rw-r--r--src/corelib/tools/qlocale_data_p.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/corelib/tools/qlocale_data_p.h b/src/corelib/tools/qlocale_data_p.h
index 37f59a4..e0eecf3 100644
--- a/src/corelib/tools/qlocale_data_p.h
+++ b/src/corelib/tools/qlocale_data_p.h
@@ -60,8 +60,8 @@ QT_BEGIN_NAMESPACE
*/
struct CountryLanguage
{
- quint32 languageId;
- quint32 countryId;
+ quint16 languageId;
+ quint16 countryId;
};
static const CountryLanguage ImperialMeasurementSystems[] = {
{ 31, 225 },
@@ -83,7 +83,7 @@ static const int ImperialMeasurementSystemsCount =
*/
-static const uint locale_index[] = {
+static const quint16 locale_index[] = {
0, // unused
0, // C
0, // Abkhazian
@@ -2313,7 +2313,7 @@ static const char language_name_list[] =
"Chewa\0"
;
-static const uint language_name_index[] = {
+static const quint16 language_name_index[] = {
0, // Unused
8, // C
10, // Abkhazian
@@ -2727,7 +2727,7 @@ static const char country_name_list[] =
"SerbiaAndMontenegro\0"
;
-static const uint country_name_index[] = {
+static const quint16 country_name_index[] = {
0, // AnyCountry
8, // Afghanistan
20, // Albania