diff options
Diffstat (limited to 'src/corelib/tools/qlocale.cpp')
-rw-r--r-- | src/corelib/tools/qlocale.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/corelib/tools/qlocale.cpp b/src/corelib/tools/qlocale.cpp index 991cc9e170..ede783bf9e 100644 --- a/src/corelib/tools/qlocale.cpp +++ b/src/corelib/tools/qlocale.cpp @@ -695,19 +695,6 @@ QDataStream &operator>>(QDataStream &ds, QLocale &l) static const int locale_data_size = sizeof(locale_data)/sizeof(QLocaleData) - 1; -const QLocaleData *QLocalePrivate::dataPointerForIndex(quint16 index) -{ -#ifndef QT_NO_SYSTEMLOCALE - Q_ASSERT(index <= locale_data_size); - if (index == locale_data_size) - return system_data; -#else - Q_ASSERT(index < locale_data_size); -#endif - - return &locale_data[index]; -} - Q_GLOBAL_STATIC_WITH_ARGS(QSharedDataPointer<QLocalePrivate>, defaultLocalePrivate, (QLocalePrivate::create(defaultData(), default_number_options))) |