| 2047 | } |
| 2048 | |
| 2049 | void UString::_load_buffer_UTF32() const |
| 2050 | { |
| 2051 | _getBufferUTF32Str(); |
| 2052 | utf32string& buffer = (*m_buffer.mUTF32StrBuffer); |
| 2053 | buffer.reserve(length()); // may over reserve, but should be close enough |
| 2054 | |
| 2055 | unicode_char c; |
| 2056 | |
| 2057 | const_iterator i; |
| 2058 | const_iterator ie = end(); |
| 2059 | for (i = begin(); i != ie; i.moveNext()) |
| 2060 | { |
| 2061 | c = i.getCharacter(); |
| 2062 | buffer.push_back(c); |
| 2063 | } |
| 2064 | } |
| 2065 | |
| 2066 | } // namespace MyGUI |
nothing calls this directly
no test coverage detected