- Timestamp:
- Dec 11, 2009, 7:15:30 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/corelib/tools/qstring.cpp
r420 r421 4576 4576 } 4577 4577 #elif defined(Q_OS_OS2) && !defined(QT_NO_TEXTCODEC) 4578 #if !defined(QT_NO_THREAD) 4578 4579 static QAtomicPointer<void> localeObj; 4579 4580 if (!localeObj) { … … 4583 4584 UniFreeLocaleObject(lo); // we are too late 4584 4585 } 4586 #else 4587 static LocaleObject localeObj = 0; 4588 if (!localeObj) 4589 UniCreateLocaleObject(UNI_UCS_STRING_POINTER, (UniChar *)L"", &localeObj); 4590 #endif 4585 4591 if (localeObj) { 4586 4592 // note: we assume that data1 and data2 are zero-terminated (to avoid
Note:
See TracChangeset
for help on using the changeset viewer.