summaryrefslogtreecommitdiff
path: root/src/plugins/geoservices/nokia/marclanguagecodes.h
diff options
context:
space:
mode:
authorAlex <qt-info@nokia.com>2011-06-21 16:48:56 +1000
committerAlex <qt-info@nokia.com>2011-06-21 16:48:56 +1000
commit8bef1911cf8834cb58d0558611365b0d5ae4e443 (patch)
tree938e646f30e158ed02f26503e1d897b84e17f964 /src/plugins/geoservices/nokia/marclanguagecodes.h
parent8481a67b62c40d801696e788dc43c659b235defa (diff)
downloadqtlocation-8bef1911cf8834cb58d0558611365b0d5ae4e443.tar.gz
make QtLocation work while Qt is compiled with namespace
Task-number: QTBUG-19972
Diffstat (limited to 'src/plugins/geoservices/nokia/marclanguagecodes.h')
-rw-r--r--src/plugins/geoservices/nokia/marclanguagecodes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/geoservices/nokia/marclanguagecodes.h b/src/plugins/geoservices/nokia/marclanguagecodes.h
index 5f2accac..57bc57cd 100644
--- a/src/plugins/geoservices/nokia/marclanguagecodes.h
+++ b/src/plugins/geoservices/nokia/marclanguagecodes.h
@@ -53,6 +53,8 @@
// http://www.loc.gov/marc/languages/language_code.html
// Order matches QLocale::Language
+QT_BEGIN_NAMESPACE
+
static const unsigned char marc_language_code_list[] =
"\0\0\0" // Unused
"\0\0\0" // C
@@ -271,5 +273,6 @@ static const unsigned char marc_language_code_list[] =
"\0\0\0" // Shambala
;
+QT_END_NAMESPACE
#endif /* MARCLANGUAGECODES_H_ */